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

moosetechnology / GitProjectHealth / 11498216048

24 Oct 2024 11:19AM UTC coverage: 58.319% (-1.4%) from 59.724%
11498216048

push

github

web-flow
Merge pull request #97 from moosetechnology/feature-merge-metamodel

Feature merge metamodel

629 of 1639 new or added lines in 51 files covered. (38.38%)

7 existing lines in 2 files now uncovered.

9446 of 16197 relevant lines covered (58.32%)

0.58 hits per line

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

61.43
/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
        #package : 'GitLabHealth-Model',
40
        #tag : 'Entities'
41
}
42

43
{ #category : 'meta' }
NEW
44
GLHDiffRange class >> annotation [
×
NEW
45

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

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

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

1✔
62
        <generated>
1✔
63
        <derived>
1✔
64
        ^ changes
1✔
65
]
1✔
66

67
{ #category : 'accessing' }
68
GLHDiffRange >> changes: anObject [
1✔
69

1✔
70
        <generated>
1✔
71
        changes value: anObject
1✔
72
]
1✔
73

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

1✔
78
        <generated>
1✔
79
        <container>
1✔
80
        ^ diff
1✔
81
]
1✔
82

83
{ #category : 'accessing' }
NEW
84
GLHDiffRange >> diff: anObject [
×
NEW
85

×
NEW
86
        <generated>
×
NEW
87
        diff := anObject
×
NEW
88
]
×
89

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

97
{ #category : 'accessing' }
NEW
98
GLHDiffRange >> lineOfCode [
×
NEW
99

×
NEW
100
        <FMProperty: #lineOfCode type: #String>
×
NEW
101
        <generated>
×
NEW
102
        ^ lineOfCode
×
NEW
103
]
×
104

105
{ #category : 'accessing' }
NEW
106
GLHDiffRange >> lineOfCode: anObject [
×
NEW
107
        <generated>
×
NEW
108
        lineOfCode := anObject
×
NEW
109
]
×
110

111
{ #category : 'accessing' }
112
GLHDiffRange >> newLineRange [
1✔
113

1✔
114
        <FMProperty: #newLineRange type: #String>
1✔
115
        <generated>
1✔
116
        ^ newLineRange
1✔
117
]
1✔
118

119
{ #category : 'accessing' }
120
GLHDiffRange >> newLineRange: anObject [
1✔
121
        <generated>
1✔
122
        newLineRange := anObject
1✔
123
]
1✔
124

125
{ #category : 'accessing' }
126
GLHDiffRange >> originalLineRange [
1✔
127

1✔
128
        <FMProperty: #originalLineRange type: #String>
1✔
129
        <generated>
1✔
130
        ^ originalLineRange
1✔
131
]
1✔
132

133
{ #category : 'accessing' }
134
GLHDiffRange >> originalLineRange: anObject [
1✔
135
        <generated>
1✔
136
        originalLineRange := anObject
1✔
137
]
1✔
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