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

moosetechnology / GitProjectHealth / 11741058616

08 Nov 2024 11:12AM UTC coverage: 59.174% (-0.6%) from 59.724%
11741058616

push

github

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

prepare v1.1.1

645 of 1284 new or added lines in 56 files covered. (50.23%)

28 existing lines in 3 files now uncovered.

9582 of 16193 relevant lines covered (59.17%)

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
}
66

67
{ #category : #meta }
68
GLHProject class >> annotation [
×
69

×
70
        <FMClass: #Project super: #GLHEntity>
×
71
        <package: #'GitLabHealth-Model'>
×
72
        <generated>
×
73
        ^ self
×
74
]
×
75

76
{ #category : #adding }
77
GLHProject >> addContributor: anObject [
×
78
        <generated>
×
79
        ^ self contributors add: anObject
×
80
]
×
81

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

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

94
{ #category : #accessing }
95
GLHProject >> archived [
×
96

×
97
        <FMProperty: #archived type: #Boolean>
×
98
        <generated>
×
99
        ^ archived
×
100
]
×
101

102
{ #category : #accessing }
103
GLHProject >> archived: anObject [
×
104
        <generated>
×
105
        archived := anObject
×
106
]
×
107

108
{ #category : #accessing }
109
GLHProject >> avatar_url [
×
110

×
111
        <FMProperty: #avatar_url type: #String>
×
112
        <generated>
×
113
        ^ avatar_url
×
114
]
×
115

116
{ #category : #accessing }
117
GLHProject >> avatar_url: anObject [
×
118
        <generated>
×
119
        avatar_url := anObject
×
120
]
×
121

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

×
126
        <generated>
×
127
        <derived>
×
128
        ^ contributors
×
129
]
×
130

131
{ #category : #accessing }
132
GLHProject >> contributors: anObject [
×
133

×
134
        <generated>
×
135
        contributors value: anObject
×
136
]
×
137

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

×
142
        <generated>
×
143
        ^ creator
×
144
]
×
145

146
{ #category : #accessing }
147
GLHProject >> creator: anObject [
×
148

×
149
        <generated>
×
150
        creator := anObject
×
151
]
×
152

153
{ #category : #accessing }
154
GLHProject >> creator_id [
1✔
155

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

161
{ #category : #accessing }
162
GLHProject >> creator_id: anObject [
×
163
        <generated>
×
164
        creator_id := anObject
×
165
]
×
166

167
{ #category : #accessing }
168
GLHProject >> description [
×
169

×
170
        <FMProperty: #description type: #String>
×
171
        <generated>
×
172
        ^ description
×
173
]
×
174

175
{ #category : #accessing }
176
GLHProject >> description: anObject [
×
177
        <generated>
×
178
        description := anObject
×
179
]
×
180

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

1✔
185
        <generated>
1✔
186
        <container>
1✔
187
        ^ group
1✔
188
]
1✔
189

190
{ #category : #accessing }
191
GLHProject >> group: anObject [
1✔
192

1✔
193
        <generated>
1✔
194
        group := anObject
1✔
195
]
1✔
196

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

204
{ #category : #accessing }
205
GLHProject >> id [
1✔
206

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

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

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

1✔
222
        <generated>
1✔
223
        <derived>
1✔
224
        ^ mergeRequests
1✔
225
]
1✔
226

227
{ #category : #accessing }
NEW
228
GLHProject >> mergeRequests: anObject [
×
NEW
229

×
NEW
230
        <generated>
×
NEW
231
        mergeRequests value: anObject
×
NEW
232
]
×
233

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

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

×
245
        <generated>
×
246
        <derived>
×
247
        ^ pipelines
×
248
]
×
249

250
{ #category : #accessing }
251
GLHProject >> pipelines: anObject [
×
252

×
253
        <generated>
×
254
        pipelines value: anObject
×
255
]
×
256

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

264
{ #category : #accessing }
265
GLHProject >> readme_url [
×
266

×
267
        <FMProperty: #readme_url type: #String>
×
268
        <generated>
×
269
        ^ readme_url
×
270
]
×
271

272
{ #category : #accessing }
273
GLHProject >> readme_url: anObject [
×
274
        <generated>
×
275
        readme_url := anObject
×
276
]
×
277

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

1✔
282
        <generated>
1✔
283
        ^ repository
1✔
284
]
1✔
285

286
{ #category : #accessing }
287
GLHProject >> repository: anObject [
1✔
288

1✔
289
        <generated>
1✔
290
        repository := anObject
1✔
291
]
1✔
292

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

300
{ #category : #accessing }
301
GLHProject >> topics [
×
302

×
303
        <FMProperty: #topics type: #Object>
×
304
        <generated>
×
305
        ^ topics
×
306
]
×
307

308
{ #category : #accessing }
309
GLHProject >> topics: anObject [
×
310
        <generated>
×
311
        topics := anObject
×
312
]
×
313

314
{ #category : #accessing }
315
GLHProject >> web_url [
×
316

×
317
        <FMProperty: #web_url type: #String>
×
318
        <generated>
×
319
        ^ web_url
×
320
]
×
321

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