Documentation ¶
Index ¶
- type Activity
- type Backup
- type Cache
- type Circumstances
- type CombCon
- type Community
- type Configuration
- type CoreTeam
- type CoresConfig
- type DeityGiven
- type Effort
- type Engagement
- type Extraction
- type GitHub
- type Interconnectedness
- type Licensing
- type Marking
- type MongoDB
- type Network
- type OSSIndex
- type Participation
- type Popularity
- type Prestige
- type Processing
- type ProjectQuality
- type Recentness
- type Rivalry
- type Support
- type Vulnerabilities
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { Percentile float64 `json:"Percentile,omitempty"` Weights struct { Commits float64 `json:"Commits,omitempty"` Releases float64 `json:"Releases,omitempty"` Issues float64 `json:"Issues,omitempty"` IssueContributions float64 `json:"IssueContributions,omitempty"` } `json:"Weights"` }
type Backup ¶
type Backup struct { CompanyThreshold int `json:"CompanyThreshold,omitempty"` SponsorThreshold float64 `json:"SponsorThreshold,omitempty"` OrganizationThreshold float64 `json:"OrganizationThreshold,omitempty"` Weights struct { Companies float64 `json:"Companies,omitempty"` Sponsors float64 `json:"Sponsors,omitempty"` Organizations float64 `json:"Organizations,omitempty"` RepositoryOrganization float64 `json:"RepositoryOrganization,omitempty"` } `json:"Weights"` }
type Circumstances ¶
type CombCon ¶
type CombCon struct { Weights struct { DeityGiven float64 `json:"DeityGiven,omitempty"` Circumstances float64 `json:"Circumstances,omitempty"` Effort float64 `json:"Effort,omitempty"` Support float64 `json:"Support,omitempty"` Community float64 `json:"Community,omitempty"` Interconnectedness float64 `json:"Interconnectedness,omitempty"` } `json:"Weights"` }
type Configuration ¶
type Configuration struct { Extraction `json:"Extraction"` Cache `json:"Cache"` CoresConfig `json:"CoresConfig"` }
func Load ¶
func Load(configFilePath, envFilePath string) (*Configuration, error)
type CoreTeam ¶
type CoreTeam struct { ActiveContributorsPercentile float64 `json:"ActiveContributorsPercentile,omitempty"` ActiveContributorsThreshold float64 `json:"ActiveContributorsThreshold,omitempty"` CoreTeamStrengthThreshold float64 `json:"CoreTeamStrengthThreshold,omitempty"` Weights struct { ActiveContributors float64 `json:"ActiveContributors,omitempty"` CoreTeamStrength float64 `json:"CoreTeamStrength,omitempty"` } `json:"Weights"` }
type CoresConfig ¶
type CoresConfig struct { CombCon CombCon `json:"CombCon"` DeityGiven DeityGiven `json:"DeityGiven"` Circumstances Circumstances `json:"Circumstances"` Effort Effort `json:"Effort"` Support Support `json:"Support"` Community Community `json:"Community"` Interconnectedness Interconnectedness `json:"Interconnectedness"` Vulnerabilities Vulnerabilities `json:"Vulnerabilities"` Activity Activity `json:"Activity"` Recentness Recentness `json:"Recentness"` Processing Processing `json:"Processing"` Network Network `json:"Network"` Popularity Popularity `json:"Popularity"` CoreTeam CoreTeam `json:"CoreTeam"` Backup Backup `json:"Backup"` Engagement Engagement `json:"Engagement"` Participation Participation `json:"Participation"` Prestige Prestige `json:"Prestige"` Licensing Licensing `json:"Licensing"` Rivalry Rivalry `json:"Rivalry"` ProjectQuality ProjectQuality `json:"ProjectQuality"` Marking Marking `json:"Marking"` }
type DeityGiven ¶
type Engagement ¶
type Extraction ¶
type Interconnectedness ¶
type Marking ¶
type Marking struct { ReadMeKeywords []string `json:"ReadMeKeywords,omitempty"` AboutKeywords []string `json:"AboutKeywords,omitempty"` ArtifactDescriptionKeywords []string `json:"ArtifactDescriptionKeywords,omitempty"` Weights struct { ReadMe float64 `json:"ReadMe,omitempty"` About float64 `json:"About,omitempty"` Archivation float64 `json:"Archivation,omitempty"` Artifact float64 `json:"Artifact,omitempty"` } `json:"Weights"` }
type Participation ¶
type Popularity ¶
type Prestige ¶
type Prestige struct { Weights struct { Contributors float64 `json:"Contributors,omitempty"` } `json:"Weights"` }
type Processing ¶
type ProjectQuality ¶
type Recentness ¶
type Recentness struct { CommitLimit int `json:"CommitLimit,omitempty"` ReleaseLimit int `json:"ReleaseLimit,omitempty"` TimeframePercentileCommits float64 `json:"TimeframePercentileCommits,omitempty"` Weights struct { MonthsSinceLastCommit float64 `json:"MonthsSinceLastCommit,omitempty"` AverageMonthsSinceLastCommits float64 `json:"AverageMonthsSinceLastCommits,omitempty"` MonthsSinceLastRelease float64 `json:"MonthsSinceLastRelease,omitempty"` } `json:"Weights"` }
type Rivalry ¶
type Rivalry struct { Weights struct { IsLatest float64 `json:"IsLatest,omitempty"` } `json:"Weights"` }
type Vulnerabilities ¶
type Vulnerabilities struct { Weights struct { CVE float64 `json:"CVE,omitempty"` } `json:"Weights"` }
Click to show internal directories.
Click to hide internal directories.