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

moosetechnology / GitProjectHealth / 11665907955

04 Nov 2024 02:09PM UTC coverage: 59.095% (-0.01%) from 59.105%
11665907955

Pull #104

github

web-flow
Merge 3fc9bdb1f into 49a2752be
Pull Request #104: WIP: fix email import

122 of 476 new or added lines in 22 files covered. (25.63%)

402 existing lines in 22 files now uncovered.

9506 of 16086 relevant lines covered (59.09%)

0.59 hits per line

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

24.34
/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
| `mergeRequests` | `GLHProject` | `project` | `GLHMergeRequest` | |
16
| `pipelines` | `GLHProject` | `project` | `GLHPipeline` | |
17
| `repository` | `GLHProject` | `project` | `GLHRepository` | |
18

19
### Other
20
| Relation | Origin | Opposite | Type | Comment |
21
|---|
22
| `contributors` | `GLHProject` | `contributedProjects` | `GLHUser` | |
23
| `creator` | `GLHProject` | `createdProjects` | `GLHUser` | |
24

25

26
## Properties
27
======================
28

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

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

69
{ #category : 'meta' }
70
GLHProject class >> annotation [
×
71

×
72
        <FMClass: #Project super: #GLHEntity>
×
73
        <package: #'GitLabHealth-Model'>
×
74
        <generated>
×
UNCOV
75
        ^ self
×
NEW
76
]
×
77

78
{ #category : 'adding' }
79
GLHProject >> addContributor: anObject [
×
80
        <generated>
×
UNCOV
81
        ^ self contributors add: anObject
×
NEW
82
]
×
83

84
{ #category : 'adding' }
85
GLHProject >> addMergeRequest: anObject [
×
86
        <generated>
×
UNCOV
87
        ^ self mergeRequests add: anObject
×
NEW
88
]
×
89

90
{ #category : 'adding' }
91
GLHProject >> addPipeline: anObject [
×
92
        <generated>
×
UNCOV
93
        ^ self pipelines add: anObject
×
NEW
94
]
×
95

96
{ #category : 'accessing' }
97
GLHProject >> archived [
×
98

×
99
        <FMProperty: #archived type: #Boolean>
×
100
        <generated>
×
UNCOV
101
        ^ archived
×
NEW
102
]
×
103

104
{ #category : 'accessing' }
105
GLHProject >> archived: anObject [
×
106
        <generated>
×
UNCOV
107
        archived := anObject
×
NEW
108
]
×
109

110
{ #category : 'accessing' }
111
GLHProject >> avatar_url [
×
112

×
113
        <FMProperty: #avatar_url type: #String>
×
114
        <generated>
×
UNCOV
115
        ^ avatar_url
×
NEW
116
]
×
117

118
{ #category : 'accessing' }
119
GLHProject >> avatar_url: anObject [
×
120
        <generated>
×
UNCOV
121
        avatar_url := anObject
×
NEW
122
]
×
123

124
{ #category : 'accessing' }
125
GLHProject >> contributors [
×
126
        "Relation named: #contributors type: #GLHUser opposite: #contributedProjects"
×
127

×
128
        <generated>
×
129
        <derived>
×
UNCOV
130
        ^ contributors
×
NEW
131
]
×
132

133
{ #category : 'accessing' }
134
GLHProject >> contributors: anObject [
×
135

×
136
        <generated>
×
UNCOV
137
        contributors value: anObject
×
NEW
138
]
×
139

140
{ #category : 'accessing' }
141
GLHProject >> creator [
×
142
        "Relation named: #creator type: #GLHUser opposite: #createdProjects"
×
143

×
144
        <generated>
×
UNCOV
145
        ^ creator
×
NEW
146
]
×
147

148
{ #category : 'accessing' }
149
GLHProject >> creator: anObject [
×
150

×
151
        <generated>
×
UNCOV
152
        creator := anObject
×
NEW
153
]
×
154

155
{ #category : 'accessing' }
156
GLHProject >> creator_id [
1✔
157

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

163
{ #category : 'accessing' }
164
GLHProject >> creator_id: anObject [
×
165
        <generated>
×
UNCOV
166
        creator_id := anObject
×
NEW
167
]
×
168

169
{ #category : 'accessing' }
170
GLHProject >> description [
×
171

×
172
        <FMProperty: #description type: #String>
×
173
        <generated>
×
UNCOV
174
        ^ description
×
NEW
175
]
×
176

177
{ #category : 'accessing' }
178
GLHProject >> description: anObject [
×
179
        <generated>
×
UNCOV
180
        description := anObject
×
NEW
181
]
×
182

183
{ #category : 'accessing' }
184
GLHProject >> group [
1✔
185
        "Relation named: #group type: #GLHGroup opposite: #projects"
1✔
186

1✔
187
        <generated>
1✔
188
        <container>
1✔
189
        ^ group
1✔
190
]
1✔
191

192
{ #category : 'accessing' }
193
GLHProject >> group: anObject [
1✔
194

1✔
195
        <generated>
1✔
196
        group := anObject
1✔
197
]
1✔
198

199
{ #category : 'navigation' }
200
GLHProject >> groupGroup [
×
201
        <generated>
×
202
        <navigation: 'Group'>
×
UNCOV
203
        ^ MooseSpecializedGroup with: self group
×
NEW
204
]
×
205

206
{ #category : 'accessing' }
207
GLHProject >> id [
1✔
208

1✔
209
        <FMProperty: #id type: #Number>
1✔
210
        <generated>
1✔
211
        ^ id
1✔
212
]
1✔
213

214
{ #category : 'accessing' }
215
GLHProject >> id: anObject [
1✔
216
        <generated>
1✔
217
        id := anObject
1✔
218
]
1✔
219

220
{ #category : 'accessing' }
221
GLHProject >> mergeRequests [
1✔
222
        "Relation named: #mergeRequests type: #GLHMergeRequest opposite: #project"
1✔
223

1✔
224
        <generated>
1✔
225
        <derived>
1✔
226
        ^ mergeRequests
1✔
227
]
1✔
228

229
{ #category : 'accessing' }
230
GLHProject >> mergeRequests: anObject [
×
231

×
232
        <generated>
×
UNCOV
233
        mergeRequests value: anObject
×
NEW
234
]
×
235

236
{ #category : 'navigation' }
237
GLHProject >> mergeRequestsGroup [
×
238
        <generated>
×
239
        <navigation: 'MergeRequests'>
×
UNCOV
240
        ^ MooseSpecializedGroup withAll: self mergeRequests asSet
×
NEW
241
]
×
242

243
{ #category : 'accessing' }
244
GLHProject >> pipelines [
×
245
        "Relation named: #pipelines type: #GLHPipeline opposite: #project"
×
246

×
247
        <generated>
×
248
        <derived>
×
UNCOV
249
        ^ pipelines
×
NEW
250
]
×
251

252
{ #category : 'accessing' }
253
GLHProject >> pipelines: anObject [
×
254

×
255
        <generated>
×
UNCOV
256
        pipelines value: anObject
×
NEW
257
]
×
258

259
{ #category : 'navigation' }
260
GLHProject >> pipelinesGroup [
×
261
        <generated>
×
262
        <navigation: 'Pipelines'>
×
UNCOV
263
        ^ MooseSpecializedGroup withAll: self pipelines asSet
×
NEW
264
]
×
265

266
{ #category : 'accessing' }
267
GLHProject >> readme_url [
×
268

×
269
        <FMProperty: #readme_url type: #String>
×
270
        <generated>
×
UNCOV
271
        ^ readme_url
×
NEW
272
]
×
273

274
{ #category : 'accessing' }
275
GLHProject >> readme_url: anObject [
×
276
        <generated>
×
UNCOV
277
        readme_url := anObject
×
NEW
278
]
×
279

280
{ #category : 'accessing' }
281
GLHProject >> repository [
1✔
282
        "Relation named: #repository type: #GLHRepository opposite: #project"
1✔
283

1✔
284
        <generated>
1✔
285
        ^ repository
1✔
286
]
1✔
287

288
{ #category : 'accessing' }
289
GLHProject >> repository: anObject [
1✔
290

1✔
291
        <generated>
1✔
292
        repository := anObject
1✔
293
]
1✔
294

295
{ #category : 'navigation' }
296
GLHProject >> repositoryGroup [
×
297
        <generated>
×
298
        <navigation: 'Repository'>
×
UNCOV
299
        ^ MooseSpecializedGroup with: self repository
×
NEW
300
]
×
301

302
{ #category : 'accessing' }
303
GLHProject >> topics [
×
304

×
305
        <FMProperty: #topics type: #Object>
×
306
        <generated>
×
UNCOV
307
        ^ topics
×
NEW
308
]
×
309

310
{ #category : 'accessing' }
311
GLHProject >> topics: anObject [
×
312
        <generated>
×
UNCOV
313
        topics := anObject
×
NEW
314
]
×
315

316
{ #category : 'accessing' }
317
GLHProject >> web_url [
×
318

×
319
        <FMProperty: #web_url type: #String>
×
320
        <generated>
×
UNCOV
321
        ^ web_url
×
NEW
322
]
×
323

324
{ #category : 'accessing' }
325
GLHProject >> web_url: anObject [
×
326
        <generated>
×
UNCOV
327
        web_url := anObject
×
UNCOV
328
]
×
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