-
Notifications
You must be signed in to change notification settings - Fork 23
/
moduleScore.yaml
48 lines (38 loc) · 1011 Bytes
/
moduleScore.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## Go Modules Scoring Algorithm
## module score criteria
# Number of modules dependent on the module
usedBy:
type: integer
weight: 0.25
# Number of stars for the module in Github
stars:
type: integer
weight: 0.01
# Number of forks for the module in Github
forks:
type: integer
weight: 0.01
# Number of downloads for the module in GoCenter
downloads:
type: integer
weight: 0.05
# Is the project source code not publicly available anymore in GitHub
projectDeleted:
type: boolean
weight: -10000
# Is there a README file available on the latest version of the module
readMeIsAvailable:
type: boolean
weight: 5
# Is there any commits in the last 2 months in GitHub
activeDevelopment:
type: boolean
weight: 5
# Is there a Licence file available on the latest version of the module
hasLicense:
type: boolean
weight: 5
# Are there additional contributors besides repository's creator in GitHub
activeMaintainers:
type: boolean
weight: 5