• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moosetechnology / GitProjectHealth / 10870371582

15 Sep 2024 10:48AM UTC coverage: 35.962% (+2.3%) from 33.667%
10870371582

Pull #55

github

web-flow
Merge a5fe468b1 into 48c9c9c78
Pull Request #55: Agg generic importer and improve github importer

337 of 497 new or added lines in 8 files covered. (67.81%)

5 existing lines in 4 files now uncovered.

3060 of 8509 relevant lines covered (35.96%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/GitLabHealth-Model-Visualization/GLHRepositoryCommitDistributionVisualization.class.st
1
Class {
2
        #name : 'GLHRepositoryCommitDistributionVisualization',
3
        #superclass : 'MiAbstractVisualization',
4
        #category : 'GitLabHealth-Model-Visualization',
5
        #package : 'GitLabHealth-Model-Visualization'
6
}
7

8
{ #category : 'instance creation' }
NEW
9
GLHRepositoryCommitDistributionVisualization >> forRepository: aRepository [
×
NEW
10

×
NEW
11
        | c lb oldestCommit oldestCommitDate commitByDate horizontal |
×
NEW
12
        c := RSCompositeChart new.
×
NEW
13
        oldestCommit := aRepository commits last.
×
NEW
14
        oldestCommitDate := oldestCommit committed_date.
×
NEW
15
        commitByDate := (oldestCommitDate to: Date today) dates collect: [
×
NEW
16
                                :date |
×
NEW
17
                                date -> (aRepository commits select: [ :commit |
×
NEW
18
                                         commit committed_date asDate = date ]) ].
×
NEW
19

×
NEW
20
        c add: (RSAbstractChart barHeights:
×
NEW
21
                         (commitByDate collect: [ :dateToCommit | dateToCommit value size ])).
×
NEW
22
        "        c add: ((RSAbstractChart barHeights: womenMeans) bottom: menMeans)."
×
NEW
23
        horizontal := c horizontalTick fromNames:
×
NEW
24
                              (commitByDate collect: [ :dateToCommit |
×
NEW
25
                                       dateToCommit key printString ]).
×
NEW
26
        horizontal configuration fontSize: 2.
×
NEW
27
        horizontal useDiagonalLabel.
×
NEW
28
        c verticalTick integer.
×
NEW
29
        c ylabel: 'Number of commits'.
×
NEW
30
        c title: 'Number of commits by date grouped by user'.
×
NEW
31
        c build.
×
NEW
32
        lb := RSLegend new.
×
NEW
33
        lb layout horizontal.
×
NEW
34
        lb container: c canvas.
×
NEW
35
        lb build.
×
NEW
36
        ^ c canvas
×
NEW
37
]
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc