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

moosetechnology / GitProjectHealth / 19461083505

18 Nov 2025 09:32AM UTC coverage: 78.047% (+0.1%) from 77.946%
19461083505

Pull #240

github

web-flow
Merge 2b798f965 into 18c5cb3fc
Pull Request #240: Improve metrics

792 of 974 new or added lines in 12 files covered. (81.31%)

3 existing lines in 1 file now uncovered.

23798 of 30492 relevant lines covered (78.05%)

0.78 hits per line

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

35.12
/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
### Other
8
| Relation | Origin | Opposite | Type | Comment |
9
|---|
10
| `mergeRequest` | `GLHNote` | `note` | `GLHMergeRequest` | |
11
| `position` | `GLHNote` | `note` | `GLHNotePosition` | |
12
| `position` | `GLHNote` | `note` | `GLHNotePosition` | |
13
| `position` | `GLHNote` | `note` | `GLHNotePosition` | |
14
| `suggestions` | `GLHNote` | `note` | `GLHNoteSuggestion` | |
15

16

17
## Properties
18
======================
19

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

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

70
{ #category : #meta }
71
GLHNote class >> annotation [
×
72

×
73
        <FMClass: #Note super: #GLHEntity>
×
74
        <package: #'GitLabHealth-Model'>
×
75
        <generated>
×
76
        ^ self
×
77
]
×
78

79
{ #category : #adding }
NEW
80
GLHNote >> addSuggestion: anObject [
×
NEW
81
        <generated>
×
NEW
82
        ^ self suggestions add: anObject
×
NEW
83
]
×
84

85
{ #category : #accessing }
86
GLHNote >> attachment [
×
87

×
88
        <FMProperty: #attachment type: #Object>
×
89
        <generated>
×
90
        ^ attachment
×
91
]
×
92

93
{ #category : #accessing }
94
GLHNote >> attachment: anObject [
×
95
        <generated>
×
96
        attachment := anObject
×
97
]
×
98

99
{ #category : #accessing }
100
GLHNote >> author [
1✔
101

1✔
102
        <FMProperty: #author type: #Object>
1✔
103
        <generated>
1✔
104
        ^ author
1✔
105
]
1✔
106

107
{ #category : #accessing }
108
GLHNote >> author: anObject [
1✔
109
        <generated>
1✔
110
        author := anObject
1✔
111
]
1✔
112

113
{ #category : #accessing }
114
GLHNote >> body [
1✔
115

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

121
{ #category : #accessing }
122
GLHNote >> body: anObject [
1✔
123
        <generated>
1✔
124
        body := anObject
1✔
125
]
1✔
126

127
{ #category : #accessing }
128
GLHNote >> confidential [
×
129

×
130
        <FMProperty: #confidential type: #Boolean>
×
131
        <generated>
×
132
        ^ confidential
×
133
]
×
134

135
{ #category : #accessing }
136
GLHNote >> confidential: anObject [
×
137
        <generated>
×
138
        confidential := anObject
×
139
]
×
140

141
{ #category : #accessing }
142
GLHNote >> created_at [
1✔
143

1✔
144
        <FMProperty: #created_at type: #Object>
1✔
145
        <generated>
1✔
146
        ^ created_at
1✔
147
]
1✔
148

149
{ #category : #accessing }
150
GLHNote >> created_at: anObject [
1✔
151
        <generated>
1✔
152
        created_at := anObject
1✔
153
]
1✔
154

155
{ #category : #accessing }
156
GLHNote >> id [
1✔
157

1✔
158
        <FMProperty: #id type: #Number>
1✔
159
        <generated>
1✔
160
        ^ id
1✔
161
]
1✔
162

163
{ #category : #accessing }
164
GLHNote >> id: anObject [
×
165
        <generated>
×
166
        id := anObject
×
167
]
×
168

169
{ #category : #accessing }
170
GLHNote >> imported [
×
171

×
172
        <FMProperty: #imported type: #Boolean>
×
173
        <generated>
×
174
        ^ imported
×
175
]
×
176

177
{ #category : #accessing }
178
GLHNote >> imported: anObject [
×
179
        <generated>
×
180
        imported := anObject
×
181
]
×
182

183
{ #category : #accessing }
184
GLHNote >> imported_from [
×
185

×
186
        <FMProperty: #imported_from type: #String>
×
187
        <generated>
×
188
        ^ imported_from
×
189
]
×
190

191
{ #category : #accessing }
192
GLHNote >> imported_from: anObject [
×
193
        <generated>
×
194
        imported_from := anObject
×
195
]
×
196

197
{ #category : #accessing }
198
GLHNote >> internal [
×
199

×
200
        <FMProperty: #internal type: #Boolean>
×
201
        <generated>
×
202
        ^ internal
×
203
]
×
204

205
{ #category : #accessing }
206
GLHNote >> internal: anObject [
×
207
        <generated>
×
208
        internal := anObject
×
209
]
×
210

211
{ #category : #accessing }
212
GLHNote >> mergeRequest [
1✔
213
        "Relation named: #mergeRequest type: #GLHMergeRequest opposite: #note"
1✔
214

1✔
215
        <generated>
1✔
216
        ^ mergeRequest
1✔
217
]
1✔
218

219
{ #category : #accessing }
220
GLHNote >> mergeRequest: anObject [
×
221

×
222
        <generated>
×
223
        mergeRequest := anObject
×
224
]
×
225

226
{ #category : #accessing }
227
GLHNote >> noteable_id [
×
228

×
229
        <FMProperty: #noteable_id type: #Number>
×
230
        <generated>
×
231
        ^ noteable_id
×
232
]
×
233

234
{ #category : #accessing }
235
GLHNote >> noteable_id: anObject [
×
236
        <generated>
×
237
        noteable_id := anObject
×
238
]
×
239

240
{ #category : #accessing }
241
GLHNote >> noteable_iid [
1✔
242

1✔
243
        <FMProperty: #noteable_iid type: #Number>
1✔
244
        <generated>
1✔
245
        ^ noteable_iid
1✔
246
]
1✔
247

248
{ #category : #accessing }
249
GLHNote >> noteable_iid: anObject [
1✔
250
        <generated>
1✔
251
        noteable_iid := anObject
1✔
252
]
1✔
253

254
{ #category : #accessing }
255
GLHNote >> noteable_type [
×
256

×
257
        <FMProperty: #noteable_type type: #String>
×
258
        <generated>
×
259
        ^ noteable_type
×
260
]
×
261

262
{ #category : #accessing }
263
GLHNote >> noteable_type: anObject [
×
264
        <generated>
×
265
        noteable_type := anObject
×
266
]
×
267

268
{ #category : #accessing }
269
GLHNote >> position [
1✔
270
        "Relation named: #position type: #GLHNotePosition opposite: #note"
1✔
271

1✔
272
        <generated>
1✔
273
        ^ position
1✔
274
]
1✔
275

276
{ #category : #accessing }
277
GLHNote >> position: anObject [
1✔
278

1✔
279
        <generated>
1✔
280
        position := anObject
1✔
281
]
1✔
282

283
{ #category : #accessing }
284
GLHNote >> project_id [
×
285

×
286
        <FMProperty: #project_id type: #Number>
×
287
        <generated>
×
288
        ^ project_id
×
289
]
×
290

291
{ #category : #accessing }
292
GLHNote >> project_id: anObject [
×
293
        <generated>
×
294
        project_id := anObject
×
295
]
×
296

297
{ #category : #accessing }
298
GLHNote >> resolvable [
×
299

×
300
        <FMProperty: #resolvable type: #Boolean>
×
301
        <generated>
×
302
        ^ resolvable
×
303
]
×
304

305
{ #category : #accessing }
306
GLHNote >> resolvable: anObject [
×
307
        <generated>
×
308
        resolvable := anObject
×
309
]
×
310

311
{ #category : #accessing }
NEW
312
GLHNote >> suggestions [
×
NEW
313
        "Relation named: #suggestions type: #GLHNoteSuggestion opposite: #note"
×
NEW
314

×
NEW
315
        <generated>
×
NEW
316
        <derived>
×
NEW
317
        ^ suggestions
×
NEW
318
]
×
319

320
{ #category : #accessing }
321
GLHNote >> suggestions: anObject [
1✔
322

1✔
323
        <generated>
1✔
324
        suggestions value: anObject
1✔
325
]
1✔
326

327
{ #category : #accessing }
328
GLHNote >> system [
×
329

×
330
        <FMProperty: #system type: #Boolean>
×
331
        <generated>
×
332
        ^ system
×
333
]
×
334

335
{ #category : #accessing }
336
GLHNote >> system: anObject [
×
337
        <generated>
×
338
        system := anObject
×
339
]
×
340

341
{ #category : #accessing }
342
GLHNote >> updated_at [
×
343

×
344
        <FMProperty: #updated_at type: #Object>
×
345
        <generated>
×
346
        ^ updated_at
×
347
]
×
348

349
{ #category : #accessing }
350
GLHNote >> updated_at: anObject [
1✔
351
        <generated>
1✔
352
        updated_at := anObject
1✔
353
]
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