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

moosetechnology / GitProjectHealth / 16164507010

09 Jul 2025 08:37AM UTC coverage: 72.954% (-1.9%) from 74.896%
16164507010

Pull #216

github

web-flow
Merge 058e20017 into 8f0fcd09b
Pull Request #216: add issue class in model

10 of 758 new or added lines in 11 files covered. (1.32%)

4 existing lines in 1 file now uncovered.

17584 of 24103 relevant lines covered (72.95%)

0.73 hits per line

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

21.03
/src/GitLabHealth-Model/GLHProject.class.st
1
"
2
A GitLab Project
3

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

7
### Parents
8
| Relation | Origin | Opposite | Type | Comment |
9
|---|
10
| `group` | `GLHProject` | `projects` | `GLHGroup` | |
11

12
### Children
13
| Relation | Origin | Opposite | Type | Comment |
14
|---|
15
| `issue` | `GLHProject` | `project` | `GLHIssue` | |
16
| `mergeRequests` | `GLHProject` | `project` | `GLHMergeRequest` | |
17
| `milestone` | `GLHProject` | `project` | `GLHMilestone` | |
18
| `pipelines` | `GLHProject` | `project` | `GLHPipeline` | |
19
| `releases` | `GLHProject` | `project` | `GLHRelease` | |
20
| `repository` | `GLHProject` | `project` | `GLHRepository` | |
21

22
### Other
23
| Relation | Origin | Opposite | Type | Comment |
24
|---|
25
| `contributors` | `GLHProject` | `contributedProjects` | `GLHUser` | |
26
| `creator` | `GLHProject` | `createdProjects` | `GLHUser` | |
27

28

29
## Properties
30
======================
31

32
| Name | Type | Default value | Comment |
33
|---|
34
| `archived` | `Boolean` | nil | |
35
| `archived` | `Boolean` | nil | |
36
| `avatar_url` | `String` | nil | |
37
| `creator_id` | `Number` | nil | |
38
| `description` | `String` | nil | |
39
| `id` | `Number` | nil | |
40
| `name` | `String` | nil | Basic name of the entity, not full reference.|
41
| `readme_url` | `String` | nil | |
42
| `topics` | `Object` | nil | |
43
| `web_url` | `String` | nil | |
44

45
"
46
Class {
47
        #name : #GLHProject,
48
        #superclass : #GLHEntity,
49
        #traits : 'FamixTNamedEntity',
50
        #classTraits : 'FamixTNamedEntity classTrait',
51
        #instVars : [
52
                '#id => FMProperty',
53
                '#topics => FMProperty',
54
                '#archived => FMProperty',
55
                '#description => FMProperty',
56
                '#readme_url => FMProperty',
57
                '#avatar_url => FMProperty',
58
                '#web_url => FMProperty',
59
                '#creator_id => FMProperty',
60
                '#group => FMOne type: #GLHGroup opposite: #projects',
61
                '#pipelines => FMMany type: #GLHPipeline opposite: #project',
62
                '#creator => FMOne type: #GLHUser opposite: #createdProjects',
63
                '#contributors => FMMany type: #GLHUser opposite: #contributedProjects',
64
                '#repository => FMOne type: #GLHRepository opposite: #project',
65
                '#releases => FMMany type: #GLHRelease opposite: #project',
66
                '#issue => FMMany type: #GLHIssue opposite: #project',
67
                '#mergeRequests => FMMany type: #GLHMergeRequest opposite: #project',
68
                '#milestone => FMMany type: #GLHMilestone opposite: #project'
69
        ],
70
        #category : #'GitLabHealth-Model-Entities'
71
}
72

73
{ #category : #meta }
74
GLHProject class >> annotation [
×
75

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

82
{ #category : #adding }
83
GLHProject >> addContributor: anObject [
×
84
        <generated>
×
85
        ^ self contributors add: anObject
×
86
]
×
87

88
{ #category : #adding }
NEW
89
GLHProject >> addIssue: anObject [
×
NEW
90
        <generated>
×
NEW
91
        ^ self issue add: anObject
×
NEW
92
]
×
93

94
{ #category : #adding }
95
GLHProject >> addMergeRequest: anObject [
×
96
        <generated>
×
97
        ^ self mergeRequests add: anObject
×
98
]
×
99

100
{ #category : #adding }
NEW
101
GLHProject >> addMilestone: anObject [
×
NEW
102
        <generated>
×
NEW
103
        ^ self milestone add: anObject
×
NEW
104
]
×
105

106
{ #category : #adding }
107
GLHProject >> addPipeline: anObject [
×
108
        <generated>
×
109
        ^ self pipelines add: anObject
×
110
]
×
111

112
{ #category : #adding }
113
GLHProject >> addRelease: anObject [
×
114
        <generated>
×
115
        ^ self releases add: anObject
×
116
]
×
117

118
{ #category : #accessing }
119
GLHProject >> archived [
×
120

×
121
        <FMProperty: #archived type: #Boolean>
×
122
        <generated>
×
123
        ^ archived
×
124
]
×
125

126
{ #category : #accessing }
127
GLHProject >> archived: anObject [
×
128
        <generated>
×
129
        archived := anObject
×
130
]
×
131

132
{ #category : #accessing }
133
GLHProject >> avatar_url [
×
134

×
135
        <FMProperty: #avatar_url type: #String>
×
136
        <generated>
×
137
        ^ avatar_url
×
138
]
×
139

140
{ #category : #accessing }
141
GLHProject >> avatar_url: anObject [
×
142
        <generated>
×
143
        avatar_url := anObject
×
144
]
×
145

146
{ #category : #accessing }
147
GLHProject >> contributors [
×
148
        "Relation named: #contributors type: #GLHUser opposite: #contributedProjects"
×
149

×
150
        <generated>
×
151
        <derived>
×
152
        ^ contributors
×
153
]
×
154

155
{ #category : #accessing }
156
GLHProject >> contributors: anObject [
×
157

×
158
        <generated>
×
159
        contributors value: anObject
×
160
]
×
161

162
{ #category : #accessing }
163
GLHProject >> creator [
×
164
        "Relation named: #creator type: #GLHUser opposite: #createdProjects"
×
165

×
166
        <generated>
×
167
        ^ creator
×
168
]
×
169

170
{ #category : #accessing }
171
GLHProject >> creator: anObject [
×
172

×
173
        <generated>
×
174
        creator := anObject
×
175
]
×
176

177
{ #category : #accessing }
178
GLHProject >> creator_id [
1✔
179

1✔
180
        <FMProperty: #creator_id type: #Number>
1✔
181
        <generated>
1✔
182
        ^ creator_id
1✔
183
]
1✔
184

185
{ #category : #accessing }
186
GLHProject >> creator_id: anObject [
×
187
        <generated>
×
188
        creator_id := anObject
×
189
]
×
190

191
{ #category : #accessing }
192
GLHProject >> description [
×
193

×
194
        <FMProperty: #description type: #String>
×
195
        <generated>
×
196
        ^ description
×
197
]
×
198

199
{ #category : #accessing }
200
GLHProject >> description: anObject [
×
201
        <generated>
×
202
        description := anObject
×
203
]
×
204

205
{ #category : #accessing }
206
GLHProject >> group [
1✔
207
        "Relation named: #group type: #GLHGroup opposite: #projects"
1✔
208

1✔
209
        <generated>
1✔
210
        <container>
1✔
211
        ^ group
1✔
212
]
1✔
213

214
{ #category : #accessing }
215
GLHProject >> group: anObject [
1✔
216

1✔
217
        <generated>
1✔
218
        group := anObject
1✔
219
]
1✔
220

221
{ #category : #navigation }
222
GLHProject >> groupGroup [
×
223
        <generated>
×
224
        <navigation: 'Group'>
×
225
        ^ MooseSpecializedGroup with: self group
×
226
]
×
227

228
{ #category : #accessing }
229
GLHProject >> id [
1✔
230

1✔
231
        <FMProperty: #id type: #Number>
1✔
232
        <generated>
1✔
233
        ^ id
1✔
234
]
1✔
235

236
{ #category : #accessing }
237
GLHProject >> id: anObject [
1✔
238
        <generated>
1✔
239
        id := anObject
1✔
240
]
1✔
241

242
{ #category : #accessing }
NEW
243
GLHProject >> issue [
×
NEW
244
        "Relation named: #issue type: #GLHIssue opposite: #project"
×
NEW
245

×
NEW
246
        <generated>
×
NEW
247
        <derived>
×
NEW
248
        ^ issue
×
NEW
249
]
×
250

251
{ #category : #accessing }
NEW
252
GLHProject >> issue: anObject [
×
NEW
253

×
NEW
254
        <generated>
×
NEW
255
        issue value: anObject
×
NEW
256
]
×
257

258
{ #category : #navigation }
NEW
259
GLHProject >> issueGroup [
×
NEW
260
        <generated>
×
NEW
261
        <navigation: 'Issue'>
×
NEW
262
        ^ MooseSpecializedGroup withAll: self issue asSet
×
NEW
263
]
×
264

265
{ #category : #accessing }
266
GLHProject >> mergeRequests [
1✔
267
        "Relation named: #mergeRequests type: #GLHMergeRequest opposite: #project"
1✔
268

1✔
269
        <generated>
1✔
270
        <derived>
1✔
271
        ^ mergeRequests
1✔
272
]
1✔
273

274
{ #category : #accessing }
275
GLHProject >> mergeRequests: anObject [
×
276

×
277
        <generated>
×
278
        mergeRequests value: anObject
×
279
]
×
280

281
{ #category : #navigation }
282
GLHProject >> mergeRequestsGroup [
×
283
        <generated>
×
284
        <navigation: 'MergeRequests'>
×
285
        ^ MooseSpecializedGroup withAll: self mergeRequests asSet
×
286
]
×
287

288
{ #category : #accessing }
NEW
289
GLHProject >> milestone [
×
NEW
290
        "Relation named: #milestone type: #GLHMilestone opposite: #project"
×
NEW
291

×
NEW
292
        <generated>
×
NEW
293
        <derived>
×
NEW
294
        ^ milestone
×
NEW
295
]
×
296

297
{ #category : #accessing }
NEW
298
GLHProject >> milestone: anObject [
×
NEW
299

×
NEW
300
        <generated>
×
NEW
301
        milestone value: anObject
×
NEW
302
]
×
303

304
{ #category : #navigation }
NEW
305
GLHProject >> milestoneGroup [
×
NEW
306
        <generated>
×
NEW
307
        <navigation: 'Milestone'>
×
NEW
308
        ^ MooseSpecializedGroup withAll: self milestone asSet
×
NEW
309
]
×
310

311
{ #category : #accessing }
312
GLHProject >> pipelines [
1✔
313
        "Relation named: #pipelines type: #GLHPipeline opposite: #project"
1✔
314

1✔
315
        <generated>
1✔
316
        <derived>
1✔
317
        ^ pipelines
1✔
318
]
1✔
319

320
{ #category : #accessing }
321
GLHProject >> pipelines: anObject [
×
322

×
323
        <generated>
×
324
        pipelines value: anObject
×
325
]
×
326

327
{ #category : #navigation }
328
GLHProject >> pipelinesGroup [
×
329
        <generated>
×
330
        <navigation: 'Pipelines'>
×
331
        ^ MooseSpecializedGroup withAll: self pipelines asSet
×
332
]
×
333

334
{ #category : #accessing }
335
GLHProject >> readme_url [
×
336

×
337
        <FMProperty: #readme_url type: #String>
×
338
        <generated>
×
339
        ^ readme_url
×
340
]
×
341

342
{ #category : #accessing }
343
GLHProject >> readme_url: anObject [
×
344
        <generated>
×
345
        readme_url := anObject
×
346
]
×
347

348
{ #category : #accessing }
349
GLHProject >> releases [
×
350
        "Relation named: #releases type: #GLHRelease opposite: #project"
×
351

×
352
        <generated>
×
353
        <derived>
×
354
        ^ releases
×
355
]
×
356

357
{ #category : #accessing }
358
GLHProject >> releases: anObject [
×
359

×
360
        <generated>
×
361
        releases value: anObject
×
362
]
×
363

364
{ #category : #navigation }
365
GLHProject >> releasesGroup [
×
366
        <generated>
×
367
        <navigation: 'Releases'>
×
368
        ^ MooseSpecializedGroup withAll: self releases asSet
×
369
]
×
370

371
{ #category : #accessing }
372
GLHProject >> repository [
1✔
373
        "Relation named: #repository type: #GLHRepository opposite: #project"
1✔
374

1✔
375
        <generated>
1✔
376
        ^ repository
1✔
377
]
1✔
378

379
{ #category : #accessing }
380
GLHProject >> repository: anObject [
1✔
381

1✔
382
        <generated>
1✔
383
        repository := anObject
1✔
384
]
1✔
385

386
{ #category : #navigation }
387
GLHProject >> repositoryGroup [
×
388
        <generated>
×
389
        <navigation: 'Repository'>
×
390
        ^ MooseSpecializedGroup with: self repository
×
391
]
×
392

393
{ #category : #accessing }
394
GLHProject >> topics [
×
395

×
396
        <FMProperty: #topics type: #Object>
×
397
        <generated>
×
398
        ^ topics
×
399
]
×
400

401
{ #category : #accessing }
402
GLHProject >> topics: anObject [
×
403
        <generated>
×
404
        topics := anObject
×
405
]
×
406

407
{ #category : #accessing }
408
GLHProject >> web_url [
×
409

×
410
        <FMProperty: #web_url type: #String>
×
411
        <generated>
×
412
        ^ web_url
×
413
]
×
414

415
{ #category : #accessing }
416
GLHProject >> web_url: anObject [
×
417
        <generated>
×
418
        web_url := anObject
×
419
]
×
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