Documentation ¶
Index ¶
- type AverageHandoverPerMR
- type AverageMRSizeByWeek
- type AverageMrReviewDepthByWeek
- type CodeChangesCount
- type CommitCountByWeek
- type CrawlInstance
- type Event
- type EventSlice
- type EventType
- type EventUserInfo
- type MergeFrequencyByWeek
- type MrCountByWeek
- type NullRows
- type Store
- func (s *Store) GetAverageHandoverPerMR(weeks []string, teamMembers []int64) (map[string]AverageHandoverPerMR, float64, error)
- func (s *Store) GetAverageMRSize(weeks []string, teamMembers []int64) (map[string]AverageMRSizeByWeek, float64, error)
- func (s *Store) GetAverageReviewDepth(weeks []string, teamMembers []int64) (map[string]AverageMrReviewDepthByWeek, float64, error)
- func (s *Store) GetCrawlInstances(from, to int64) ([]CrawlInstance, error)
- func (s *Store) GetDeployFrequency(weeks []string) (interface{}, error)
- func (s *Store) GetEventSlices(date time.Time, teamMembers []int64) (EventSlice, error)
- func (s *Store) GetMRsMergedWithoutReview(weeks []string, teamMembers []int64) (map[string]MrCountByWeek, float64, error)
- func (s *Store) GetMergeFrequency(weeks []string, teamMembers []int64) (map[string]MergeFrequencyByWeek, float64, error)
- func (s *Store) GetMergeRequestEvents(mrId int64) (EventSlice, error)
- func (s *Store) GetNewCodePercentage(weeks []string) (interface{}, error)
- func (s *Store) GetNullRows() (*NullRows, error)
- func (s *Store) GetRefactorPercentage(weeks []string) (interface{}, error)
- func (s *Store) GetReworkPercentage(weeks []string) (interface{}, error)
- func (s *Store) GetTeamMembers(team *int64) ([]int64, error)
- func (s *Store) GetTeams() (TeamSlice, error)
- func (s *Store) GetTotalCodeChanges(weeks []string, teamMembers []int64) (map[string]CodeChangesCount, float64, error)
- func (s *Store) GetTotalCommits(weeks []string, teamMembers []int64) (map[string]CommitCountByWeek, float64, error)
- func (s *Store) GetTotalMrsOpened(weeks []string, teamMembers []int64) (map[string]MrCountByWeek, float64, error)
- func (s *Store) GetTotalReviews(weeks []string, teamMembers []int64) (map[string]TotalReviewsByWeek, float64, error)
- type Team
- type TeamSlice
- type TimeFrame
- type TimeFrameSlice
- type TotalReviewsByWeek
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AverageHandoverPerMR ¶
type AverageMRSizeByWeek ¶
type CodeChangesCount ¶
type CommitCountByWeek ¶
type CrawlInstance ¶
type EventSlice ¶
type EventSlice []Event
func SmushEventSlice ¶
func SmushEventSlice(events EventSlice) EventSlice
func (EventSlice) Len ¶
func (d EventSlice) Len() int
func (EventSlice) Less ¶
func (d EventSlice) Less(i, j int) bool
func (EventSlice) Swap ¶
func (d EventSlice) Swap(i, j int)
type EventUserInfo ¶
type MergeFrequencyByWeek ¶
type MrCountByWeek ¶
type Store ¶
type Store struct {
DbUrl string
}
func (*Store) GetAverageHandoverPerMR ¶
func (*Store) GetAverageMRSize ¶
func (*Store) GetAverageReviewDepth ¶
func (*Store) GetCrawlInstances ¶
func (s *Store) GetCrawlInstances(from, to int64) ([]CrawlInstance, error)
func (*Store) GetDeployFrequency ¶
func (*Store) GetEventSlices ¶
func (*Store) GetMRsMergedWithoutReview ¶
func (*Store) GetMergeFrequency ¶
func (*Store) GetMergeRequestEvents ¶
func (s *Store) GetMergeRequestEvents(mrId int64) (EventSlice, error)
func (*Store) GetNewCodePercentage ¶
func (*Store) GetNullRows ¶
func (*Store) GetRefactorPercentage ¶
func (*Store) GetReworkPercentage ¶
func (*Store) GetTotalCodeChanges ¶
func (*Store) GetTotalCommits ¶
func (*Store) GetTotalMrsOpened ¶
func (*Store) GetTotalReviews ¶
type TimeFrameSlice ¶
type TimeFrameSlice []TimeFrame
func FindGaps ¶
func FindGaps(from, to time.Time, timeFrames TimeFrameSlice) TimeFrameSlice
func (TimeFrameSlice) Len ¶
func (tfs TimeFrameSlice) Len() int
func (TimeFrameSlice) Less ¶
func (tfs TimeFrameSlice) Less(i, j int) bool
func (TimeFrameSlice) Swap ¶
func (tfs TimeFrameSlice) Swap(i, j int)
type TotalReviewsByWeek ¶
Click to show internal directories.
Click to hide internal directories.