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

moosetechnology / GitProjectHealth / 16027292634

02 Jul 2025 02:02PM UTC coverage: 74.762% (-0.1%) from 74.906%
16027292634

Pull #216

github

web-flow
Merge 764198401 into a000fd4b3
Pull Request #216: add issue class in model

0 of 152 new or added lines in 1 file covered. (0.0%)

62 existing lines in 3 files now uncovered.

17587 of 23524 relevant lines covered (74.76%)

0.75 hits per line

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

56.58
/src/GitLabHealth-Model/GLHDiffRange.class.st
1
"
2
a indicate on which line of code are concerned by a diff (usually declared with @@ oldRange, newRange @@) 
3

4
## Relations
5
======================
6

7
### Parents
8
| Relation | Origin | Opposite | Type | Comment |
9
|---|
10
| `diff` | `GLHDiffRange` | `diffRanges` | `GLHDiff` | |
11

12
### Other
13
| Relation | Origin | Opposite | Type | Comment |
14
|---|
15
| `changes` | `GLHDiffRange` | `diffRange` | `GLHChange` | |
16

17

18
## Properties
19
======================
20

21
| Name | Type | Default value | Comment |
22
|---|
23
| `lineOfCode` | `String` | nil | |
24
| `newLineRange` | `String` | nil | |
25
| `originalLineRange` | `String` | nil | |
26

27
"
28
Class {
29
        #name : #GLHDiffRange,
30
        #superclass : #GLHEntity,
31
        #instVars : [
32
                '#originalLineRange => FMProperty',
33
                '#newLineRange => FMProperty',
34
                '#lineOfCode => FMProperty',
35
                '#diff => FMOne type: #GLHDiff opposite: #diffRanges',
36
                '#changes => FMMany type: #GLHChange opposite: #diffRange'
37
        ],
38
        #category : #'GitLabHealth-Model-Entities'
39
}
40

41
{ #category : #meta }
42
GLHDiffRange class >> annotation [
×
43

×
44
        <FMClass: #DiffRange super: #GLHEntity>
×
45
        <package: #'GitLabHealth-Model'>
×
46
        <generated>
×
47
        ^ self
×
48
]
×
49

50
{ #category : #adding }
51
GLHDiffRange >> addChange: anObject [
1✔
52
        <generated>
1✔
53
        ^ self changes add: anObject
1✔
54
]
1✔
55

56
{ #category : #accessing }
57
GLHDiffRange >> changes [
1✔
58
        "Relation named: #changes type: #GLHChange opposite: #diffRange"
1✔
59

1✔
60
        <generated>
1✔
61
        <derived>
1✔
62
        ^ changes
1✔
63
]
1✔
64

65
{ #category : #accessing }
66
GLHDiffRange >> changes: anObject [
1✔
67

1✔
68
        <generated>
1✔
69
        changes value: anObject
1✔
70
]
1✔
71

72
{ #category : #accessing }
73
GLHDiffRange >> diff [
1✔
74
        "Relation named: #diff type: #GLHDiff opposite: #diffRanges"
1✔
75

1✔
76
        <generated>
1✔
77
        <container>
1✔
78
        ^ diff
1✔
79
]
1✔
80

81
{ #category : #accessing }
82
GLHDiffRange >> diff: anObject [
×
83

×
84
        <generated>
×
85
        diff := anObject
×
86
]
×
87

88
{ #category : #navigation }
89
GLHDiffRange >> diffGroup [
×
90
        <generated>
×
91
        <navigation: 'Diff'>
×
92
        ^ MooseSpecializedGroup with: self diff
×
93
]
×
94

95
{ #category : #accessing }
96
GLHDiffRange >> end [
×
97
 ^        (self newLineRange copyFrom: (self newLineRange indexOf:$,)+1 to: self newLineRange size) asNumber 
×
98
]
×
99

100
{ #category : #accessing }
101
GLHDiffRange >> lineOfCode [
×
UNCOV
102

×
UNCOV
103
        <FMProperty: #lineOfCode type: #String>
×
104
        <generated>
×
105
        ^ lineOfCode
×
106
]
×
107

108
{ #category : #accessing }
UNCOV
109
GLHDiffRange >> lineOfCode: anObject [
×
UNCOV
110
        <generated>
×
UNCOV
111
        lineOfCode := anObject
×
UNCOV
112
]
×
113

114
{ #category : #accessing }
115
GLHDiffRange >> newLineRange [
1✔
116

1✔
117
        <FMProperty: #newLineRange type: #String>
1✔
118
        <generated>
1✔
119
        ^ newLineRange
1✔
120
]
1✔
121

122
{ #category : #accessing }
123
GLHDiffRange >> newLineRange: anObject [
1✔
124
        <generated>
1✔
125
        newLineRange := anObject
1✔
126
]
1✔
127

128
{ #category : #accessing }
129
GLHDiffRange >> originalLineRange [
1✔
130

1✔
131
        <FMProperty: #originalLineRange type: #String>
1✔
132
        <generated>
1✔
133
        ^ originalLineRange
1✔
134
]
1✔
135

136
{ #category : #accessing }
137
GLHDiffRange >> originalLineRange: anObject [
1✔
138
        <generated>
1✔
139
        originalLineRange := anObject
1✔
140
]
1✔
141

142
{ #category : #accessing }
UNCOV
143
GLHDiffRange >> start [
×
UNCOV
144
        ^ (self newLineRange copyFrom: 2 to: (self newLineRange indexOf:$,)-1) asNumber 
×
UNCOV
145
]
×
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