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

moosetechnology / GitProjectHealth / 10880334038

16 Sep 2024 08:38AM UTC coverage: 20.325% (-0.2%) from 20.538%
10880334038

Pull #54

github

web-flow
Merge 9db8bd0be into aef27716a
Pull Request #54: Metrics fixing

20 of 234 new or added lines in 20 files covered. (8.55%)

252 existing lines in 18 files now uncovered.

1961 of 9648 relevant lines covered (20.33%)

0.2 hits per line

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

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

8
{ #category : 'running' }
9
GLHGroupCSVExporter >> forGroup: aGLHGroup [
×
10
        ^String streamContents: [ :output |
×
11
                self headerLineOn: output.
×
12
                self forGroup: aGLHGroup on: output ]
×
UNCOV
13
]
×
14

15
{ #category : 'running' }
16
GLHGroupCSVExporter >> forGroup: aGLHGroup on: outputStream [
×
17

×
18
        (aGLHGroup allToScope: GLHGroup) do: [ :group |
×
19
                        group projects do: [ :project |
×
20
                                self forProject: project inGroup: aGLHGroup onStream: outputStream ]
×
21
        ]
×
UNCOV
22
]
×
23

24
{ #category : 'running' }
25
GLHGroupCSVExporter >> forProject: aGHLProject inGroup: aGLHGroup onStream: outputStream [
×
26

×
27
        outputStream
×
28
                << $" ;
×
29
                << aGLHGroup name ;
×
30
                << '","' ;
×
31
                << aGHLProject name ;
×
32
                << '","' ;
×
33
                << (self pipelineResult: aGHLProject) ;
×
34
                << '",' ;
×
35
                << aGHLProject lastPipelineDate asDate ddmmyyyy ;
×
36
                cr
×
UNCOV
37
]
×
38

39
{ #category : 'running' }
40
GLHGroupCSVExporter >> headerLineOn: outputStream [
×
41

×
42
        outputStream
×
43
                << '"Group","Project","CI result","Date"' ;
×
44
                cr
×
UNCOV
45
]
×
46

47
{ #category : 'running' }
48
GLHGroupCSVExporter >> pipelineResult: aGHLProject [
×
49

×
50
        ^aGHLProject lastPipeline
×
51
                ifNil: [ #noCI ]
×
52
                ifNotNil: [ :lastPipeline |
×
53
                        (lastPipeline status = #success)
×
54
                                ifTrue: [ #passed ]
×
55
                                ifFalse: [ #failed ]
×
56
                ]
×
57

×
UNCOV
58
]
×
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

© 2025 Coveralls, Inc