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

moosetechnology / GitProjectHealth / 17262821407

27 Aug 2025 09:26AM UTC coverage: 73.322% (-1.6%) from 74.896%
17262821407

push

github

web-flow
Merge pull request #223 from moosetechnology/develop

Update main

1000 of 2102 new or added lines in 33 files covered. (47.57%)

28 existing lines in 2 files now uncovered.

18579 of 25339 relevant lines covered (73.32%)

0.73 hits per line

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

59.16
/src/GitLabHealth-Model/GLHCommit.class.st
1
"
2
a commit attached to a repository
3

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

7
### Parents
8
| Relation | Origin | Opposite | Type | Comment |
9
|---|
10
| `commitCreator` | `GLHCommit` | `commits` | `GLHUser` | |
11
| `repository` | `GLHCommit` | `commits` | `GLHRepository` | |
12

13
### Children
14
| Relation | Origin | Opposite | Type | Comment |
15
|---|
16
| `diffs` | `GLHCommit` | `commit` | `GLHDiff` | |
17
| `jobs` | `GLHCommit` | `commit` | `GLHJob` | |
18

19
### Other
20
| Relation | Origin | Opposite | Type | Comment |
21
|---|
22
| `branch` | `GLHCommit` | `commits` | `GLHBranch` | |
23
| `childCommits` | `GLHCommit` | `parentCommits` | `GLHCommit` | |
24
| `commitedMergeRequest` | `GLHCommit` | `mergeRequestCommit` | `GLHMergeRequest` | |
25
| `commitedMergeRequest` | `GLHCommit` | `mergedCommit` | `GLHMergeRequest` | |
26
| `parentCommits` | `GLHCommit` | `childCommits` | `GLHCommit` | |
27
| `squashedMergeRequest` | `GLHCommit` | `squashCommit` | `GLHMergeRequest` | |
28
| `tag` | `GLHCommit` | `commit` | `GLHTag` | |
29

30

31
## Properties
32
======================
33

34
| Name | Type | Default value | Comment |
35
|---|
36
| `additions` | `Number` | nil | The number of line that git consider added|
37
| `author_email` | `String` | nil | |
38
| `author_name` | `String` | nil | |
39
| `authored_date` | `Object` | nil | |
40
| `committed_date` | `Object` | nil | |
41
| `committer_email` | `String` | nil | |
42
| `committer_name` | `String` | nil | |
43
| `created_at` | `Object` | nil | |
44
| `deletions` | `Number` | nil | The number of line that git consider deleted|
45
| `id` | `String` | nil | |
46
| `message` | `String` | nil | |
47
| `name` | `String` | nil | Basic name of the entity, not full reference.|
48
| `parent_ids` | `Object` | 'OrderedCollection new' | |
49
| `short_id` | `String` | nil | |
50
| `title` | `String` | nil | |
51
| `web_url` | `String` | nil | |
52

53
"
54
Class {
55
        #name : #GLHCommit,
56
        #superclass : #GLHEntity,
57
        #traits : 'FamixTNamedEntity',
58
        #classTraits : 'FamixTNamedEntity classTrait',
59
        #instVars : [
60
                '#parent_ids => FMProperty defaultValue: \'OrderedCollection new\'',
61
                '#id => FMProperty',
62
                '#short_id => FMProperty',
63
                '#title => FMProperty',
64
                '#author_name => FMProperty',
65
                '#author_email => FMProperty',
66
                '#authored_date => FMProperty',
67
                '#committer_name => FMProperty',
68
                '#committer_email => FMProperty',
69
                '#committed_date => FMProperty',
70
                '#created_at => FMProperty',
71
                '#message => FMProperty',
72
                '#web_url => FMProperty',
73
                '#additions => FMProperty',
74
                '#deletions => FMProperty',
75
                '#repository => FMOne type: #GLHRepository opposite: #commits',
76
                '#branch => FMMany type: #GLHBranch opposite: #commits',
77
                '#diffs => FMMany type: #GLHDiff opposite: #commit',
78
                '#commitCreator => FMOne type: #GLHUser opposite: #commits',
79
                '#parentCommits => FMMany type: #GLHCommit opposite: #childCommits',
80
                '#childCommits => FMMany type: #GLHCommit opposite: #parentCommits',
81
                '#jobs => FMMany type: #GLHJob opposite: #commit',
82
                '#tag => FMOne type: #GLHTag opposite: #commit',
83
                '#commitedMergeRequest => FMOne type: #GLHMergeRequest opposite: #mergedCommit',
84
                '#squashedMergeRequest => FMOne type: #GLHMergeRequest opposite: #squashCommit'
85
        ],
86
        #category : #'GitLabHealth-Model-Entities'
87
}
88

89
{ #category : #meta }
90
GLHCommit class >> annotation [
×
91

×
92
        <FMClass: #Commit super: #GLHEntity>
×
93
        <package: #'GitLabHealth-Model'>
×
94
        <generated>
×
95
        ^ self
×
96
]
×
97

98
{ #category : #adding }
NEW
99
GLHCommit >> addBranch: anObject [
×
NEW
100
        <generated>
×
NEW
101
        ^ self branch add: anObject
×
NEW
102
]
×
103

104
{ #category : #adding }
105
GLHCommit >> addChildCommit: anObject [
1✔
106
        <generated>
1✔
107
        ^ self childCommits add: anObject
1✔
108
]
1✔
109

110
{ #category : #adding }
111
GLHCommit >> addDiff: anObject [
1✔
112
        <generated>
1✔
113
        ^ self diffs add: anObject
1✔
114
]
1✔
115

116
{ #category : #adding }
117
GLHCommit >> addJob: anObject [
×
118
        <generated>
×
119
        ^ self jobs add: anObject
×
120
]
×
121

122
{ #category : #adding }
123
GLHCommit >> addParentCommit: anObject [
1✔
124
        <generated>
1✔
125
        ^ self parentCommits add: anObject
1✔
126
]
1✔
127

128
{ #category : #accessing }
129
GLHCommit >> additions [
1✔
130

1✔
131
        <FMProperty: #additions type: #Number>
1✔
132
        <generated>
1✔
133
        <FMComment: 'The number of line that git consider added'>
1✔
134
        ^ additions
1✔
135
]
1✔
136

137
{ #category : #accessing }
138
GLHCommit >> additions: anObject [
1✔
139
        <generated>
1✔
140
        additions := anObject
1✔
141
]
1✔
142

143
{ #category : #accessing }
144
GLHCommit >> author_email [
×
145

×
146
        <FMProperty: #author_email type: #String>
×
147
        <generated>
×
148
        ^ author_email
×
149
]
×
150

151
{ #category : #accessing }
152
GLHCommit >> author_email: anObject [
1✔
153
        <generated>
1✔
154
        author_email := anObject
1✔
155
]
1✔
156

157
{ #category : #accessing }
158
GLHCommit >> author_name [
1✔
159

1✔
160
        <FMProperty: #author_name type: #String>
1✔
161
        <generated>
1✔
162
        ^ author_name
1✔
163
]
1✔
164

165
{ #category : #accessing }
166
GLHCommit >> author_name: anObject [
1✔
167
        <generated>
1✔
168
        author_name := anObject
1✔
169
]
1✔
170

171
{ #category : #accessing }
172
GLHCommit >> authored_date [
1✔
173

1✔
174
        <FMProperty: #authored_date type: #Object>
1✔
175
        <generated>
1✔
176
        ^ authored_date
1✔
177
]
1✔
178

179
{ #category : #accessing }
180
GLHCommit >> authored_date: anObject [
1✔
181
        <generated>
1✔
182
        authored_date := anObject
1✔
183
]
1✔
184

185
{ #category : #accessing }
186
GLHCommit >> branch [
×
187
        "Relation named: #branch type: #GLHBranch opposite: #commits"
×
188

×
189
        <generated>
×
190
        ^ branch
×
191
]
×
192

193
{ #category : #accessing }
194
GLHCommit >> branch: anObject [
×
195

×
196
        <generated>
×
NEW
197
        branch value: anObject
×
198
]
×
199

200
{ #category : #accessing }
201
GLHCommit >> childCommits [
1✔
202
        "Relation named: #childCommits type: #GLHCommit opposite: #parentCommits"
1✔
203

1✔
204
        <generated>
1✔
205
        ^ childCommits
1✔
206
]
1✔
207

208
{ #category : #accessing }
209
GLHCommit >> childCommits: anObject [
×
210

×
211
        <generated>
×
212
        childCommits value: anObject
×
213
]
×
214

215
{ #category : #accessing }
216
GLHCommit >> commitCreator [
1✔
217
        "Relation named: #commitCreator type: #GLHUser opposite: #commits"
1✔
218

1✔
219
        <generated>
1✔
220
        <container>
1✔
221
        ^ commitCreator
1✔
222
]
1✔
223

224
{ #category : #accessing }
225
GLHCommit >> commitCreator: anObject [
1✔
226

1✔
227
        <generated>
1✔
228
        commitCreator := anObject
1✔
229
]
1✔
230

231
{ #category : #navigation }
232
GLHCommit >> commitCreatorGroup [
×
233
        <generated>
×
234
        <navigation: 'CommitCreator'>
×
235
        ^ MooseSpecializedGroup with: self commitCreator
×
236
]
×
237

238
{ #category : #accessing }
239
GLHCommit >> commitedMergeRequest [
×
240
        "Relation named: #commitedMergeRequest type: #GLHMergeRequest opposite: #mergedCommit"
×
241

×
242
        <generated>
×
243
        <derived>
×
244
        ^ commitedMergeRequest
×
245
]
×
246

247
{ #category : #accessing }
248
GLHCommit >> commitedMergeRequest: anObject [
×
249

×
250
        <generated>
×
251
        commitedMergeRequest := anObject
×
252
]
×
253

254
{ #category : #accessing }
255
GLHCommit >> committed_date [
1✔
256

1✔
257
        <FMProperty: #committed_date type: #Object>
1✔
258
        <generated>
1✔
259
        ^ committed_date
1✔
260
]
1✔
261

262
{ #category : #accessing }
263
GLHCommit >> committed_date: anObject [
1✔
264
        <generated>
1✔
265
        committed_date := anObject
1✔
266
]
1✔
267

268
{ #category : #accessing }
269
GLHCommit >> committer_email [
×
270

×
271
        <FMProperty: #committer_email type: #String>
×
272
        <generated>
×
273
        ^ committer_email
×
274
]
×
275

276
{ #category : #accessing }
277
GLHCommit >> committer_email: anObject [
1✔
278
        <generated>
1✔
279
        committer_email := anObject
1✔
280
]
1✔
281

282
{ #category : #accessing }
283
GLHCommit >> committer_name [
×
284

×
285
        <FMProperty: #committer_name type: #String>
×
286
        <generated>
×
287
        ^ committer_name
×
288
]
×
289

290
{ #category : #accessing }
291
GLHCommit >> committer_name: anObject [
1✔
292
        <generated>
1✔
293
        committer_name := anObject
1✔
294
]
1✔
295

296
{ #category : #accessing }
297
GLHCommit >> created_at [
1✔
298

1✔
299
        <FMProperty: #created_at type: #Object>
1✔
300
        <generated>
1✔
301
        ^ created_at
1✔
302
]
1✔
303

304
{ #category : #accessing }
305
GLHCommit >> created_at: anObject [
1✔
306
        <generated>
1✔
307
        created_at := anObject
1✔
308
]
1✔
309

310
{ #category : #accessing }
311
GLHCommit >> deletions [
1✔
312

1✔
313
        <FMProperty: #deletions type: #Number>
1✔
314
        <generated>
1✔
315
        <FMComment: 'The number of line that git consider deleted'>
1✔
316
        ^ deletions
1✔
317
]
1✔
318

319
{ #category : #accessing }
320
GLHCommit >> deletions: anObject [
1✔
321
        <generated>
1✔
322
        deletions := anObject
1✔
323
]
1✔
324

325
{ #category : #accessing }
326
GLHCommit >> diffs [
1✔
327
        "Relation named: #diffs type: #GLHDiff opposite: #commit"
1✔
328

1✔
329
        <generated>
1✔
330
        <derived>
1✔
331
        ^ diffs
1✔
332
]
1✔
333

334
{ #category : #accessing }
335
GLHCommit >> diffs: anObject [
1✔
336

1✔
337
        <generated>
1✔
338
        diffs value: anObject
1✔
339
]
1✔
340

341
{ #category : #navigation }
342
GLHCommit >> diffsGroup [
×
343
        <generated>
×
344
        <navigation: 'Diffs'>
×
345
        ^ MooseSpecializedGroup withAll: self diffs asSet
×
346
]
×
347

348
{ #category : #accessing }
349
GLHCommit >> id [
1✔
350

1✔
351
        <FMProperty: #id type: #String>
1✔
352
        <generated>
1✔
353
        ^ id
1✔
354
]
1✔
355

356
{ #category : #accessing }
357
GLHCommit >> id: anObject [
1✔
358
        <generated>
1✔
359
        id := anObject
1✔
360
]
1✔
361

362
{ #category : #accessing }
363
GLHCommit >> jobs [
×
364
        "Relation named: #jobs type: #GLHJob opposite: #commit"
×
365

×
366
        <generated>
×
367
        <derived>
×
368
        ^ jobs
×
369
]
×
370

371
{ #category : #accessing }
372
GLHCommit >> jobs: anObject [
×
373

×
374
        <generated>
×
375
        jobs value: anObject
×
376
]
×
377

378
{ #category : #navigation }
379
GLHCommit >> jobsGroup [
×
380
        <generated>
×
381
        <navigation: 'Jobs'>
×
382
        ^ MooseSpecializedGroup withAll: self jobs asSet
×
383
]
×
384

385
{ #category : #accessing }
386
GLHCommit >> message [
1✔
387

1✔
388
        <FMProperty: #message type: #String>
1✔
389
        <generated>
1✔
390
        ^ message
1✔
391
]
1✔
392

393
{ #category : #accessing }
394
GLHCommit >> message: anObject [
1✔
395
        <generated>
1✔
396
        message := anObject
1✔
397
]
1✔
398

399
{ #category : #accessing }
400
GLHCommit >> parentCommits [
1✔
401
        "Relation named: #parentCommits type: #GLHCommit opposite: #childCommits"
1✔
402

1✔
403
        <generated>
1✔
404
        <derived>
1✔
405
        ^ parentCommits
1✔
406
]
1✔
407

408
{ #category : #accessing }
409
GLHCommit >> parentCommits: anObject [
1✔
410

1✔
411
        <generated>
1✔
412
        parentCommits value: anObject
1✔
413
]
1✔
414

415
{ #category : #accessing }
416
GLHCommit >> parent_ids: anObject [
1✔
417
        <generated>
1✔
418
        parent_ids := anObject
1✔
419
]
1✔
420

421
{ #category : #accessing }
422
GLHCommit >> repository [
1✔
423
        "Relation named: #repository type: #GLHRepository opposite: #commits"
1✔
424

1✔
425
        <generated>
1✔
426
        <container>
1✔
427
        ^ repository
1✔
428
]
1✔
429

430
{ #category : #accessing }
431
GLHCommit >> repository: anObject [
1✔
432

1✔
433
        <generated>
1✔
434
        repository := anObject
1✔
435
]
1✔
436

437
{ #category : #navigation }
438
GLHCommit >> repositoryGroup [
×
439
        <generated>
×
440
        <navigation: 'Repository'>
×
441
        ^ MooseSpecializedGroup with: self repository
×
442
]
×
443

444
{ #category : #accessing }
445
GLHCommit >> short_id [
1✔
446

1✔
447
        <FMProperty: #short_id type: #String>
1✔
448
        <generated>
1✔
449
        ^ short_id
1✔
450
]
1✔
451

452
{ #category : #accessing }
453
GLHCommit >> short_id: anObject [
1✔
454
        <generated>
1✔
455
        short_id := anObject
1✔
456
]
1✔
457

458
{ #category : #accessing }
459
GLHCommit >> squashedMergeRequest [
×
460
        "Relation named: #squashedMergeRequest type: #GLHMergeRequest opposite: #squashCommit"
×
461

×
462
        <generated>
×
463
        <derived>
×
464
        ^ squashedMergeRequest
×
465
]
×
466

467
{ #category : #accessing }
468
GLHCommit >> squashedMergeRequest: anObject [
×
469

×
470
        <generated>
×
471
        squashedMergeRequest := anObject
×
472
]
×
473

474
{ #category : #accessing }
475
GLHCommit >> tag [
×
476
        "Relation named: #tag type: #GLHTag opposite: #commit"
×
477

×
478
        <generated>
×
479
        <derived>
×
480
        ^ tag
×
481
]
×
482

483
{ #category : #accessing }
484
GLHCommit >> tag: anObject [
×
485

×
486
        <generated>
×
487
        tag := anObject
×
488
]
×
489

490
{ #category : #accessing }
491
GLHCommit >> title [
1✔
492

1✔
493
        <FMProperty: #title type: #String>
1✔
494
        <generated>
1✔
495
        ^ title
1✔
496
]
1✔
497

498
{ #category : #accessing }
499
GLHCommit >> title: anObject [
1✔
500
        <generated>
1✔
501
        title := anObject
1✔
502
]
1✔
503

504
{ #category : #accessing }
505
GLHCommit >> web_url [
×
506

×
507
        <FMProperty: #web_url type: #String>
×
508
        <generated>
×
509
        ^ web_url
×
510
]
×
511

512
{ #category : #accessing }
513
GLHCommit >> web_url: anObject [
×
514
        <generated>
×
515
        web_url := anObject
×
516
]
×
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