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

moosetechnology / GitProjectHealth / 22565525201

02 Mar 2026 07:18AM UTC coverage: 77.616% (-0.4%) from 78.042%
22565525201

Pull #242

github

web-flow
Merge b9f160390 into 549d271b5
Pull Request #242: feat: add GLHNotePosition, GLHNoteSuggestion in GitModel and GitlabImporter

45 of 100 new or added lines in 6 files covered. (45.0%)

54 existing lines in 3 files now uncovered.

23582 of 30383 relevant lines covered (77.62%)

0.78 hits per line

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

30.84
/src/GitLabHealth-Model/GLHNote.class.st
1
"
2
a note (a diff) proposed in a Merge Request; can be accepted, modified or deleted
3

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

7
### Children
8
| Relation | Origin | Opposite | Type | Comment |
9
|---|
10
| `position` | `GLHNote` | `note` | `GLHNotePosition` | |
11

12
### Other
13
| Relation | Origin | Opposite | Type | Comment |
14
|---|
15
| `mergeRequest` | `GLHNote` | `note` | `GLHMergeRequest` | |
16
| `position` | `GLHNote` | `note` | `GLHNotePosition` | |
17
| `position` | `GLHNote` | `note` | `GLHNotePosition` | |
18
| `suggestions` | `GLHNote` | `note` | `GLHNoteSuggestion` | |
19

20

21
## Properties
22
======================
23

24
| Name | Type | Default value | Comment |
25
|---|
26
| `attachment` | `Object` | nil | |
27
| `author` | `Object` | nil | |
28
| `body` | `String` | nil | |
29
| `confidential` | `Boolean` | nil | |
30
| `created_at` | `Object` | nil | |
31
| `id` | `Number` | nil | |
32
| `imported` | `Boolean` | nil | |
33
| `imported_from` | `String` | nil | |
34
| `internal` | `Boolean` | nil | |
35
| `name` | `String` | nil | Basic name of the entity, not full reference.|
36
| `noteable_id` | `Number` | nil | |
37
| `noteable_iid` | `Number` | nil | |
38
| `noteable_type` | `String` | nil | |
39
| `project_id` | `Number` | nil | |
40
| `resolvable` | `Boolean` | nil | |
41
| `system` | `Boolean` | nil | |
42
| `updated_at` | `Object` | nil | |
43

44
"
45
Class {
46
        #name : #GLHNote,
47
        #superclass : #GLHEntity,
48
        #traits : 'FamixTNamedEntity',
49
        #classTraits : 'FamixTNamedEntity classTrait',
50
        #instVars : [
51
                '#id => FMProperty',
52
                '#body => FMProperty',
53
                '#attachment => FMProperty',
54
                '#author => FMProperty',
55
                '#created_at => FMProperty',
56
                '#updated_at => FMProperty',
57
                '#system => FMProperty',
58
                '#noteable_id => FMProperty',
59
                '#noteable_type => FMProperty',
60
                '#project_id => FMProperty',
61
                '#noteable_iid => FMProperty',
62
                '#resolvable => FMProperty',
63
                '#confidential => FMProperty',
64
                '#internal => FMProperty',
65
                '#imported => FMProperty',
66
                '#imported_from => FMProperty',
67
                '#mergeRequest => FMOne type: #GLHMergeRequest opposite: #note',
68
                '#position => FMOne type: #GLHNotePosition opposite: #note',
69
                '#suggestions => FMMany type: #GLHNoteSuggestion opposite: #note'
70
        ],
71
        #category : #'GitLabHealth-Model-Entities'
72
}
73

74
{ #category : #meta }
75
GLHNote class >> annotation [
×
76

×
77
        <FMClass: #Note super: #GLHEntity>
×
78
        <package: #'GitLabHealth-Model'>
×
79
        <generated>
×
80
        ^ self
×
81
]
×
82

83
{ #category : #adding }
84
GLHNote >> addSuggestion: anObject [
×
85
        <generated>
×
86
        ^ self suggestions add: anObject
×
87
]
×
88

89
{ #category : #accessing }
90
GLHNote >> attachment [
×
91

×
92
        <FMProperty: #attachment type: #Object>
×
93
        <generated>
×
94
        ^ attachment
×
95
]
×
96

97
{ #category : #accessing }
98
GLHNote >> attachment: anObject [
×
99
        <generated>
×
100
        attachment := anObject
×
101
]
×
102

103
{ #category : #accessing }
104
GLHNote >> author [
1✔
105

1✔
106
        <FMProperty: #author type: #Object>
1✔
107
        <generated>
1✔
108
        ^ author
1✔
109
]
1✔
110

111
{ #category : #accessing }
112
GLHNote >> author: anObject [
1✔
113
        <generated>
1✔
114
        author := anObject
1✔
115
]
1✔
116

117
{ #category : #accessing }
118
GLHNote >> body [
1✔
119

1✔
120
        <FMProperty: #body type: #String>
1✔
121
        <generated>
1✔
122
        ^ body
1✔
123
]
1✔
124

125
{ #category : #accessing }
126
GLHNote >> body: anObject [
1✔
127
        <generated>
1✔
128
        body := anObject
1✔
129
]
1✔
130

131
{ #category : #accessing }
132
GLHNote >> confidential [
×
133

×
134
        <FMProperty: #confidential type: #Boolean>
×
135
        <generated>
×
136
        ^ confidential
×
137
]
×
138

139
{ #category : #accessing }
140
GLHNote >> confidential: anObject [
×
141
        <generated>
×
142
        confidential := anObject
×
143
]
×
144

145
{ #category : #accessing }
146
GLHNote >> created_at [
1✔
147

1✔
148
        <FMProperty: #created_at type: #Object>
1✔
149
        <generated>
1✔
150
        ^ created_at
1✔
151
]
1✔
152

153
{ #category : #accessing }
154
GLHNote >> created_at: anObject [
1✔
155
        <generated>
1✔
156
        created_at := anObject
1✔
157
]
1✔
158

159
{ #category : #accessing }
160
GLHNote >> id [
1✔
161

1✔
162
        <FMProperty: #id type: #Number>
1✔
163
        <generated>
1✔
164
        ^ id
1✔
165
]
1✔
166

167
{ #category : #accessing }
168
GLHNote >> id: anObject [
×
169
        <generated>
×
170
        id := anObject
×
171
]
×
172

173
{ #category : #accessing }
174
GLHNote >> imported [
×
175

×
176
        <FMProperty: #imported type: #Boolean>
×
177
        <generated>
×
178
        ^ imported
×
179
]
×
180

181
{ #category : #accessing }
182
GLHNote >> imported: anObject [
×
183
        <generated>
×
184
        imported := anObject
×
185
]
×
186

187
{ #category : #accessing }
188
GLHNote >> imported_from [
×
189

×
190
        <FMProperty: #imported_from type: #String>
×
191
        <generated>
×
192
        ^ imported_from
×
193
]
×
194

195
{ #category : #accessing }
196
GLHNote >> imported_from: anObject [
×
197
        <generated>
×
198
        imported_from := anObject
×
199
]
×
200

201
{ #category : #accessing }
202
GLHNote >> internal [
×
203

×
204
        <FMProperty: #internal type: #Boolean>
×
205
        <generated>
×
206
        ^ internal
×
207
]
×
208

209
{ #category : #accessing }
210
GLHNote >> internal: anObject [
×
211
        <generated>
×
212
        internal := anObject
×
213
]
×
214

215
{ #category : #accessing }
216
GLHNote >> mergeRequest [
1✔
217
        "Relation named: #mergeRequest type: #GLHMergeRequest opposite: #note"
1✔
218

1✔
219
        <generated>
1✔
220
        ^ mergeRequest
1✔
221
]
1✔
222

223
{ #category : #accessing }
224
GLHNote >> mergeRequest: anObject [
×
225

×
226
        <generated>
×
227
        mergeRequest := anObject
×
228
]
×
229

230
{ #category : #printing }
231
GLHNote >> mooseNameOn: stream [
1✔
232

1✔
233
        stream nextPutAll: '[', id asString, ']', body
1✔
234
]
1✔
235

236
{ #category : #accessing }
237
GLHNote >> noteable_id [
×
238

×
239
        <FMProperty: #noteable_id type: #Number>
×
240
        <generated>
×
241
        ^ noteable_id
×
242
]
×
243

244
{ #category : #accessing }
245
GLHNote >> noteable_id: anObject [
×
246
        <generated>
×
247
        noteable_id := anObject
×
248
]
×
249

250
{ #category : #accessing }
251
GLHNote >> noteable_iid [
1✔
252

1✔
253
        <FMProperty: #noteable_iid type: #Number>
1✔
254
        <generated>
1✔
255
        ^ noteable_iid
1✔
256
]
1✔
257

258
{ #category : #accessing }
259
GLHNote >> noteable_iid: anObject [
1✔
260
        <generated>
1✔
261
        noteable_iid := anObject
1✔
262
]
1✔
263

264
{ #category : #accessing }
265
GLHNote >> noteable_type [
×
266

×
267
        <FMProperty: #noteable_type type: #String>
×
268
        <generated>
×
269
        ^ noteable_type
×
270
]
×
271

272
{ #category : #accessing }
273
GLHNote >> noteable_type: anObject [
×
274
        <generated>
×
275
        noteable_type := anObject
×
276
]
×
277

278
{ #category : #accessing }
279
GLHNote >> position [
1✔
280
        "Relation named: #position type: #GLHNotePosition opposite: #note"
1✔
281

1✔
282
        <generated>
1✔
283
        ^ position
1✔
284
]
1✔
285

286
{ #category : #accessing }
UNCOV
287
GLHNote >> position: anObject [
×
UNCOV
288

×
UNCOV
289
        <generated>
×
UNCOV
290
        position := anObject
×
UNCOV
291
]
×
292

293
{ #category : #navigation }
NEW
294
GLHNote >> positionGroup [
×
NEW
295
        <generated>
×
NEW
296
        <navigation: 'Position'>
×
NEW
297
        ^ MooseSpecializedGroup with: self position
×
NEW
298
]
×
299

300
{ #category : #accessing }
301
GLHNote >> project_id [
×
302

×
303
        <FMProperty: #project_id type: #Number>
×
304
        <generated>
×
305
        ^ project_id
×
306
]
×
307

308
{ #category : #accessing }
309
GLHNote >> project_id: anObject [
×
310
        <generated>
×
311
        project_id := anObject
×
312
]
×
313

314
{ #category : #accessing }
315
GLHNote >> resolvable [
×
316

×
317
        <FMProperty: #resolvable type: #Boolean>
×
318
        <generated>
×
319
        ^ resolvable
×
320
]
×
321

322
{ #category : #accessing }
323
GLHNote >> resolvable: anObject [
×
324
        <generated>
×
325
        resolvable := anObject
×
326
]
×
327

328
{ #category : #accessing }
329
GLHNote >> suggestions [
×
330
        "Relation named: #suggestions type: #GLHNoteSuggestion opposite: #note"
×
331

×
332
        <generated>
×
333
        <derived>
×
334
        ^ suggestions
×
335
]
×
336

337
{ #category : #accessing }
UNCOV
338
GLHNote >> suggestions: anObject [
×
UNCOV
339

×
UNCOV
340
        <generated>
×
UNCOV
341
        suggestions value: anObject
×
UNCOV
342
]
×
343

344
{ #category : #accessing }
345
GLHNote >> system [
×
346

×
347
        <FMProperty: #system type: #Boolean>
×
348
        <generated>
×
349
        ^ system
×
350
]
×
351

352
{ #category : #accessing }
353
GLHNote >> system: anObject [
×
354
        <generated>
×
355
        system := anObject
×
356
]
×
357

358
{ #category : #accessing }
359
GLHNote >> updated_at [
×
360

×
361
        <FMProperty: #updated_at type: #Object>
×
362
        <generated>
×
363
        ^ updated_at
×
364
]
×
365

366
{ #category : #accessing }
367
GLHNote >> updated_at: anObject [
1✔
368
        <generated>
1✔
369
        updated_at := anObject
1✔
370
]
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

© 2026 Coveralls, Inc