Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer encapsulates the analysis configuration and provides methods for various analyses.
type Collaboration ¶
type Metrics ¶
type Metrics struct {
// Version
Version string
// Raw metrics
RepoStats RepoStats
Theme []Theme
Collaboration Collaboration
// Derived metrics
PeriodStart time.Time
PeriodEnd time.Time
ImpactScore float64 // Sum of action weights * theme weights
Velocity float64 // events per week
OwnershipCount int // Number of repos with >= ownership threshold
WeeklyTrend []TrendPoint // Number of events per week (ordered)
ContributionMix map[string]float64 // Percentage of events per theme
}
Metrics are advanced metrics computed from events.
type RepoStats ¶
type RepoStats struct {
Summary []RepoSummary
}
type TrendPoint ¶
TrendPoint represents activity count for a specific date.
Click to show internal directories.
Click to hide internal directories.