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

moosetechnology / GitProjectHealth / 15685699682

16 Jun 2025 03:55PM UTC coverage: 74.453% (+1.2%) from 73.222%
15685699682

push

github

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

Update Main

1293 of 2646 new or added lines in 26 files covered. (48.87%)

62 existing lines in 3 files now uncovered.

17142 of 23024 relevant lines covered (74.45%)

0.74 hits per line

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

58.79
/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
| `branch` | `GLHCommit` | `commits` | `GLHBranch` | |
11
| `commitCreator` | `GLHCommit` | `commits` | `GLHUser` | |
12
| `repository` | `GLHCommit` | `commits` | `GLHRepository` | |
13

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

20
### Other
21
| Relation | Origin | Opposite | Type | Comment |
22
|---|
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 => FMOne 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
                '#commitedMergeRequest => FMOne type: #GLHMergeRequest opposite: #mergedCommit',
83
                '#squashedMergeRequest => FMOne type: #GLHMergeRequest opposite: #squashCommit',
84
                '#tag => FMOne type: #GLHTag opposite: #commit'
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 }
99
GLHCommit >> addChildCommit: anObject [
1✔
100
        <generated>
1✔
101
        ^ self childCommits add: anObject
1✔
102
]
1✔
103

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

110
{ #category : #adding }
111
GLHCommit >> addJob: anObject [
×
112
        <generated>
×
113
        ^ self jobs add: anObject
×
114
]
×
115

116
{ #category : #adding }
117
GLHCommit >> addParentCommit: anObject [
1✔
118
        <generated>
1✔
119
        ^ self parentCommits add: anObject
1✔
120
]
1✔
121

122
{ #category : #accessing }
123
GLHCommit >> additions [
1✔
124

1✔
125
        <FMProperty: #additions type: #Number>
1✔
126
        <generated>
1✔
127
        <FMComment: 'The number of line that git consider added'>
1✔
128
        ^ additions
1✔
129
]
1✔
130

131
{ #category : #accessing }
132
GLHCommit >> additions: anObject [
1✔
133
        <generated>
1✔
134
        additions := anObject
1✔
135
]
1✔
136

137
{ #category : #accessing }
138
GLHCommit >> author_email [
×
139

×
140
        <FMProperty: #author_email type: #String>
×
141
        <generated>
×
142
        ^ author_email
×
143
]
×
144

145
{ #category : #accessing }
146
GLHCommit >> author_email: anObject [
1✔
147
        <generated>
1✔
148
        author_email := anObject
1✔
149
]
1✔
150

151
{ #category : #accessing }
152
GLHCommit >> author_name [
1✔
153

1✔
154
        <FMProperty: #author_name type: #String>
1✔
155
        <generated>
1✔
156
        ^ author_name
1✔
157
]
1✔
158

159
{ #category : #accessing }
160
GLHCommit >> author_name: anObject [
1✔
161
        <generated>
1✔
162
        author_name := anObject
1✔
163
]
1✔
164

165
{ #category : #accessing }
166
GLHCommit >> authored_date [
1✔
167

1✔
168
        <FMProperty: #authored_date type: #Object>
1✔
169
        <generated>
1✔
170
        ^ authored_date
1✔
171
]
1✔
172

173
{ #category : #accessing }
174
GLHCommit >> authored_date: anObject [
1✔
175
        <generated>
1✔
176
        authored_date := anObject
1✔
177
]
1✔
178

179
{ #category : #accessing }
180
GLHCommit >> branch [
×
181
        "Relation named: #branch type: #GLHBranch opposite: #commits"
×
182

×
183
        <generated>
×
184
        <container>
×
185
        ^ branch
×
186
]
×
187

188
{ #category : #accessing }
189
GLHCommit >> branch: anObject [
×
190

×
191
        <generated>
×
192
        branch := anObject
×
193
]
×
194

195
{ #category : #navigation }
196
GLHCommit >> branchGroup [
×
197
        <generated>
×
198
        <navigation: 'Branch'>
×
199
        ^ MooseSpecializedGroup with: self branch
×
200
]
×
201

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

1✔
206
        <generated>
1✔
207
        ^ childCommits
1✔
208
]
1✔
209

210
{ #category : #accessing }
211
GLHCommit >> childCommits: anObject [
×
212

×
213
        <generated>
×
214
        childCommits value: anObject
×
215
]
×
216

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

1✔
221
        <generated>
1✔
222
        <container>
1✔
223
        ^ commitCreator
1✔
224
]
1✔
225

226
{ #category : #accessing }
227
GLHCommit >> commitCreator: anObject [
1✔
228

1✔
229
        <generated>
1✔
230
        commitCreator := anObject
1✔
231
]
1✔
232

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

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

×
244
        <generated>
×
245
        <derived>
×
246
        ^ commitedMergeRequest
×
247
]
×
248

249
{ #category : #accessing }
250
GLHCommit >> commitedMergeRequest: anObject [
×
251

×
252
        <generated>
×
253
        commitedMergeRequest := anObject
×
254
]
×
255

256
{ #category : #accessing }
257
GLHCommit >> committed_date [
1✔
258

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

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

270
{ #category : #accessing }
271
GLHCommit >> committer_email [
×
272

×
273
        <FMProperty: #committer_email type: #String>
×
274
        <generated>
×
275
        ^ committer_email
×
276
]
×
277

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

284
{ #category : #accessing }
285
GLHCommit >> committer_name [
×
286

×
287
        <FMProperty: #committer_name type: #String>
×
288
        <generated>
×
289
        ^ committer_name
×
290
]
×
291

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

298
{ #category : #accessing }
299
GLHCommit >> created_at [
1✔
300

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

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

312
{ #category : #accessing }
313
GLHCommit >> deletions [
1✔
314

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

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

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

1✔
331
        <generated>
1✔
332
        <derived>
1✔
333
        ^ diffs
1✔
334
]
1✔
335

336
{ #category : #accessing }
337
GLHCommit >> diffs: anObject [
1✔
338

1✔
339
        <generated>
1✔
340
        diffs value: anObject
1✔
341
]
1✔
342

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

350
{ #category : #accessing }
351
GLHCommit >> id [
1✔
352

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

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

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

×
368
        <generated>
×
369
        <derived>
×
370
        ^ jobs
×
371
]
×
372

373
{ #category : #accessing }
374
GLHCommit >> jobs: anObject [
×
375

×
376
        <generated>
×
377
        jobs value: anObject
×
378
]
×
379

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

387
{ #category : #accessing }
388
GLHCommit >> message [
1✔
389

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

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

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

1✔
405
        <generated>
1✔
406
        <derived>
1✔
407
        ^ parentCommits
1✔
408
]
1✔
409

410
{ #category : #accessing }
411
GLHCommit >> parentCommits: anObject [
1✔
412

1✔
413
        <generated>
1✔
414
        parentCommits value: anObject
1✔
415
]
1✔
416

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

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

1✔
427
        <generated>
1✔
428
        <container>
1✔
429
        ^ repository
1✔
430
]
1✔
431

432
{ #category : #accessing }
433
GLHCommit >> repository: anObject [
1✔
434

1✔
435
        <generated>
1✔
436
        repository := anObject
1✔
437
]
1✔
438

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

446
{ #category : #accessing }
447
GLHCommit >> short_id [
1✔
448

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

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

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

×
464
        <generated>
×
465
        <derived>
×
466
        ^ squashedMergeRequest
×
467
]
×
468

469
{ #category : #accessing }
470
GLHCommit >> squashedMergeRequest: anObject [
×
471

×
472
        <generated>
×
473
        squashedMergeRequest := anObject
×
474
]
×
475

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

×
NEW
480
        <generated>
×
NEW
481
        <derived>
×
NEW
482
        ^ tag
×
NEW
483
]
×
484

485
{ #category : #accessing }
NEW
486
GLHCommit >> tag: anObject [
×
NEW
487

×
NEW
488
        <generated>
×
NEW
489
        tag := anObject
×
NEW
490
]
×
491

492
{ #category : #accessing }
493
GLHCommit >> title [
1✔
494

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

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

506
{ #category : #accessing }
507
GLHCommit >> web_url [
×
508

×
509
        <FMProperty: #web_url type: #String>
×
510
        <generated>
×
511
        ^ web_url
×
512
]
×
513

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