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

moosetechnology / GitProjectHealth / 11496882612

24 Oct 2024 09:51AM UTC coverage: 58.319% (-0.6%) from 58.906%
11496882612

push

github

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

Develop

1334 of 2585 new or added lines in 64 files covered. (51.61%)

21 existing lines in 6 files now uncovered.

9446 of 16197 relevant lines covered (58.32%)

0.58 hits per line

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

14.94
/src/GitLabHealth-Model/GLHUser.class.st
1
"
2
A GitLab User
3

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

7
### Children
8
| Relation | Origin | Opposite | Type | Comment |
9
|---|
10
| `commits` | `GLHUser` | `commitCreator` | `GLHCommit` | |
11
| `jobs` | `GLHUser` | `user` | `GLHJob` | |
12

13
### Other
14
| Relation | Origin | Opposite | Type | Comment |
15
|---|
16
| `approcheMergeRequests` | `GLHUser` | `approved_by` | `GLHMergeRequest` | |
17
| `assignedMergeRequests` | `GLHUser` | `assignees` | `GLHMergeRequest` | |
18
| `closedMergeRequests` | `GLHUser` | `closed_by` | `GLHMergeRequest` | |
19
| `contributedProjects` | `GLHUser` | `contributors` | `GLHProject` | |
20
| `createdMergeRequests` | `GLHUser` | `author` | `GLHMergeRequest` | |
21
| `createdProjects` | `GLHUser` | `creator` | `GLHProject` | |
22
| `currentlyAssignedMergeRequest` | `GLHUser` | `assignee` | `GLHMergeRequest` | |
23
| `mergerOfMergeRequests` | `GLHUser` | `merged_by` | `GLHMergeRequest` | |
24
| `reviewedMergeResquest` | `GLHUser` | `reviewers` | `GLHMergeRequest` | |
25
| `usedMerges` | `GLHUser` | `merge_user` | `GLHMergeRequest` | |
26

27

28
## Properties
29
======================
30

31
| Name | Type | Default value | Comment |
32
|---|
33
| `avatar_url` | `String` | nil | |
34
| `bio` | `String` | nil | |
35
| `bot` | `String` | nil | |
36
| `created_at` | `String` | nil | |
37
| `followers` | `String` | nil | |
38
| `following` | `String` | nil | |
39
| `id` | `Number` | nil | |
40
| `job_title` | `String` | nil | |
41
| `linkedin` | `String` | nil | |
42
| `location` | `String` | nil | |
43
| `name` | `String` | nil | Basic name of the entity, not full reference.|
44
| `name` | `String` | nil | |
45
| `organization` | `String` | nil | |
46
| `pronouns` | `String` | nil | |
47
| `public_email` | `String` | nil | |
48
| `skype` | `String` | nil | |
49
| `state` | `String` | nil | |
50
| `twitter` | `String` | nil | |
51
| `username` | `String` | nil | |
52
| `web_url` | `String` | nil | |
53
| `website_url` | `String` | nil | |
54
| `work_information` | `String` | nil | |
55

56
"
57
Class {
58
        #name : 'GLHUser',
59
        #superclass : 'GLHEntity',
60
        #traits : 'FamixTNamedEntity',
61
        #classTraits : 'FamixTNamedEntity classTrait',
62
        #instVars : [
63
                '#approcheMergeRequests => FMMany type: #GLHMergeRequest opposite: #approved_by',
64
                '#assignedMergeRequests => FMMany type: #GLHMergeRequest opposite: #assignees',
65
                '#avatar_url => FMProperty',
66
                '#bio => FMProperty',
67
                '#bot => FMProperty',
68
                '#closedMergeRequests => FMMany type: #GLHMergeRequest opposite: #closed_by',
69
                '#commits => FMMany type: #GLHCommit opposite: #commitCreator',
70
                '#contributedProjects => FMMany type: #GLHProject opposite: #contributors',
71
                '#createdMergeRequests => FMMany type: #GLHMergeRequest opposite: #author',
72
                '#createdProjects => FMMany type: #GLHProject opposite: #creator',
73
                '#created_at => FMProperty',
74
                '#currentlyAssignedMergeRequest => FMMany type: #GLHMergeRequest opposite: #assignee',
75
                '#followers => FMProperty',
76
                '#following => FMProperty',
77
                '#id => FMProperty',
78
                '#job_title => FMProperty',
79
                '#jobs => FMMany type: #GLHJob opposite: #user',
80
                '#linkedin => FMProperty',
81
                '#location => FMProperty',
82
                '#mergerOfMergeRequests => FMMany type: #GLHMergeRequest opposite: #merged_by',
83
                '#name => FMProperty',
84
                '#organization => FMProperty',
85
                '#pronouns => FMProperty',
86
                '#public_email => FMProperty',
87
                '#reviewedMergeResquest => FMMany type: #GLHMergeRequest opposite: #reviewers',
88
                '#skype => FMProperty',
89
                '#state => FMProperty',
90
                '#twitter => FMProperty',
91
                '#usedMerges => FMMany type: #GLHMergeRequest opposite: #merge_user',
92
                '#username => FMProperty',
93
                '#web_url => FMProperty',
94
                '#website_url => FMProperty',
95
                '#work_information => FMProperty'
96
        ],
97
        #category : 'GitLabHealth-Model-Entities',
98
        #package : 'GitLabHealth-Model',
99
        #tag : 'Entities'
100
}
101

102
{ #category : 'meta' }
103
GLHUser class >> annotation [
×
104

×
105
        <FMClass: #User super: #GLHEntity>
×
106
        <package: #'GitLabHealth-Model'>
×
107
        <generated>
×
108
        ^ self
×
109
]
×
110

111
{ #category : 'adding' }
NEW
112
GLHUser >> addApprocheMergeRequest: anObject [
×
NEW
113
        <generated>
×
NEW
114
        ^ self approcheMergeRequests add: anObject
×
NEW
115
]
×
116

117
{ #category : 'adding' }
NEW
118
GLHUser >> addAssignedMergeRequest: anObject [
×
NEW
119
        <generated>
×
NEW
120
        ^ self assignedMergeRequests add: anObject
×
NEW
121
]
×
122

123
{ #category : 'adding' }
NEW
124
GLHUser >> addClosedMergeRequest: anObject [
×
NEW
125
        <generated>
×
NEW
126
        ^ self closedMergeRequests add: anObject
×
NEW
127
]
×
128

129
{ #category : 'adding' }
130
GLHUser >> addCommit: anObject [
×
131
        <generated>
×
132
        ^ self commits add: anObject
×
133
]
×
134

135
{ #category : 'adding' }
136
GLHUser >> addContributedProject: anObject [
×
137
        <generated>
×
138
        ^ self contributedProjects add: anObject
×
139
]
×
140

141
{ #category : 'adding' }
NEW
142
GLHUser >> addCreatedMergeRequest: anObject [
×
NEW
143
        <generated>
×
NEW
144
        ^ self createdMergeRequests add: anObject
×
NEW
145
]
×
146

147
{ #category : 'adding' }
148
GLHUser >> addCreatedProject: anObject [
1✔
149
        <generated>
1✔
150
        ^ self createdProjects add: anObject
1✔
151
]
1✔
152

153
{ #category : 'adding' }
NEW
154
GLHUser >> addCurrentlyAssignedMergeRequest: anObject [
×
NEW
155
        <generated>
×
NEW
156
        ^ self currentlyAssignedMergeRequest add: anObject
×
NEW
157
]
×
158

159
{ #category : 'adding' }
160
GLHUser >> addJob: anObject [
×
161
        <generated>
×
162
        ^ self jobs add: anObject
×
163
]
×
164

165
{ #category : 'adding' }
NEW
166
GLHUser >> addMergerOfMergeRequest: anObject [
×
NEW
167
        <generated>
×
NEW
168
        ^ self mergerOfMergeRequests add: anObject
×
NEW
169
]
×
170

171
{ #category : 'adding' }
NEW
172
GLHUser >> addReviewedMergeResquest: anObject [
×
NEW
173
        <generated>
×
NEW
174
        ^ self reviewedMergeResquest add: anObject
×
NEW
175
]
×
176

177
{ #category : 'adding' }
NEW
178
GLHUser >> addUsedMerge: anObject [
×
NEW
179
        <generated>
×
NEW
180
        ^ self usedMerges add: anObject
×
NEW
181
]
×
182

183
{ #category : 'accessing' }
NEW
184
GLHUser >> approcheMergeRequests [
×
NEW
185
        "Relation named: #approcheMergeRequests type: #GLHMergeRequest opposite: #approved_by"
×
NEW
186

×
NEW
187
        <generated>
×
NEW
188
        ^ approcheMergeRequests
×
NEW
189
]
×
190

191
{ #category : 'accessing' }
NEW
192
GLHUser >> approcheMergeRequests: anObject [
×
NEW
193

×
NEW
194
        <generated>
×
NEW
195
        approcheMergeRequests value: anObject
×
NEW
196
]
×
197

198
{ #category : 'accessing' }
NEW
199
GLHUser >> assignedMergeRequests [
×
NEW
200
        "Relation named: #assignedMergeRequests type: #GLHMergeRequest opposite: #assignees"
×
NEW
201

×
NEW
202
        <generated>
×
NEW
203
        ^ assignedMergeRequests
×
NEW
204
]
×
205

206
{ #category : 'accessing' }
NEW
207
GLHUser >> assignedMergeRequests: anObject [
×
NEW
208

×
NEW
209
        <generated>
×
NEW
210
        assignedMergeRequests value: anObject
×
NEW
211
]
×
212

213
{ #category : 'accessing' }
214
GLHUser >> avatar_url [
×
215

×
216
        <FMProperty: #avatar_url type: #String>
×
217
        <generated>
×
218
        ^ avatar_url
×
219
]
×
220

221
{ #category : 'accessing' }
222
GLHUser >> avatar_url: anObject [
×
223
        <generated>
×
224
        avatar_url := anObject
×
225
]
×
226

227
{ #category : 'accessing' }
228
GLHUser >> bio [
×
229

×
230
        <FMProperty: #bio type: #String>
×
231
        <generated>
×
232
        ^ bio
×
233
]
×
234

235
{ #category : 'accessing' }
236
GLHUser >> bio: anObject [
×
237
        <generated>
×
238
        bio := anObject
×
239
]
×
240

241
{ #category : 'accessing' }
242
GLHUser >> bot [
×
243

×
244
        <FMProperty: #bot type: #String>
×
245
        <generated>
×
246
        ^ bot
×
247
]
×
248

249
{ #category : 'accessing' }
250
GLHUser >> bot: anObject [
×
251
        <generated>
×
252
        bot := anObject
×
253
]
×
254

255
{ #category : 'accessing' }
NEW
256
GLHUser >> closedMergeRequests [
×
NEW
257
        "Relation named: #closedMergeRequests type: #GLHMergeRequest opposite: #closed_by"
×
NEW
258

×
NEW
259
        <generated>
×
NEW
260
        <derived>
×
NEW
261
        ^ closedMergeRequests
×
NEW
262
]
×
263

264
{ #category : 'accessing' }
NEW
265
GLHUser >> closedMergeRequests: anObject [
×
NEW
266

×
NEW
267
        <generated>
×
NEW
268
        closedMergeRequests value: anObject
×
NEW
269
]
×
270

271
{ #category : 'accessing' }
272
GLHUser >> commits [
×
273
        "Relation named: #commits type: #GLHCommit opposite: #commitCreator"
×
274

×
275
        <generated>
×
276
        <derived>
×
277
        ^ commits
×
278
]
×
279

280
{ #category : 'accessing' }
281
GLHUser >> commits: anObject [
×
282

×
283
        <generated>
×
284
        commits value: anObject
×
285
]
×
286

287
{ #category : 'navigation' }
288
GLHUser >> commitsGroup [
×
289
        <generated>
×
290
        <navigation: 'Commits'>
×
291
        ^ MooseSpecializedGroup withAll: self commits asSet
×
292
]
×
293

294
{ #category : 'accessing' }
295
GLHUser >> contributedProjects [
1✔
296
        "Relation named: #contributedProjects type: #GLHProject opposite: #contributors"
1✔
297

1✔
298
        <generated>
1✔
299
        ^ contributedProjects
1✔
300
]
1✔
301

302
{ #category : 'accessing' }
303
GLHUser >> contributedProjects: anObject [
1✔
304

1✔
305
        <generated>
1✔
306
        contributedProjects value: anObject
1✔
307
]
1✔
308

309
{ #category : 'accessing' }
NEW
310
GLHUser >> createdMergeRequests [
×
NEW
311
        "Relation named: #createdMergeRequests type: #GLHMergeRequest opposite: #author"
×
NEW
312

×
NEW
313
        <generated>
×
NEW
314
        <derived>
×
NEW
315
        ^ createdMergeRequests
×
NEW
316
]
×
317

318
{ #category : 'accessing' }
NEW
319
GLHUser >> createdMergeRequests: anObject [
×
NEW
320

×
NEW
321
        <generated>
×
NEW
322
        createdMergeRequests value: anObject
×
NEW
323
]
×
324

325
{ #category : 'accessing' }
326
GLHUser >> createdProjects [
1✔
327
        "Relation named: #createdProjects type: #GLHProject opposite: #creator"
1✔
328

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

334
{ #category : 'accessing' }
335
GLHUser >> createdProjects: anObject [
×
336

×
337
        <generated>
×
338
        createdProjects value: anObject
×
339
]
×
340

341
{ #category : 'accessing' }
342
GLHUser >> created_at [
×
343

×
344
        <FMProperty: #created_at type: #String>
×
345
        <generated>
×
346
        ^ created_at
×
347
]
×
348

349
{ #category : 'accessing' }
350
GLHUser >> created_at: anObject [
×
351
        <generated>
×
352
        created_at := anObject
×
353
]
×
354

355
{ #category : 'accessing' }
NEW
356
GLHUser >> currentlyAssignedMergeRequest [
×
NEW
357
        "Relation named: #currentlyAssignedMergeRequest type: #GLHMergeRequest opposite: #assignee"
×
NEW
358

×
NEW
359
        <generated>
×
NEW
360
        <derived>
×
NEW
361
        ^ currentlyAssignedMergeRequest
×
NEW
362
]
×
363

364
{ #category : 'accessing' }
NEW
365
GLHUser >> currentlyAssignedMergeRequest: anObject [
×
NEW
366

×
NEW
367
        <generated>
×
NEW
368
        currentlyAssignedMergeRequest value: anObject
×
NEW
369
]
×
370

371
{ #category : 'accessing' }
372
GLHUser >> followers [
×
373

×
374
        <FMProperty: #followers type: #String>
×
375
        <generated>
×
376
        ^ followers
×
377
]
×
378

379
{ #category : 'accessing' }
380
GLHUser >> followers: anObject [
×
381
        <generated>
×
382
        followers := anObject
×
383
]
×
384

385
{ #category : 'accessing' }
386
GLHUser >> following [
×
387

×
388
        <FMProperty: #following type: #String>
×
389
        <generated>
×
390
        ^ following
×
391
]
×
392

393
{ #category : 'accessing' }
394
GLHUser >> following: anObject [
×
395
        <generated>
×
396
        following := anObject
×
397
]
×
398

399
{ #category : 'accessing' }
400
GLHUser >> id [
1✔
401

1✔
402
        <FMProperty: #id type: #Number>
1✔
403
        <generated>
1✔
404
        ^ id
1✔
405
]
1✔
406

407
{ #category : 'accessing' }
408
GLHUser >> id: anObject [
1✔
409
        <generated>
1✔
410
        id := anObject
1✔
411
]
1✔
412

413
{ #category : 'accessing' }
414
GLHUser >> job_title [
×
415

×
416
        <FMProperty: #job_title type: #String>
×
417
        <generated>
×
418
        ^ job_title
×
419
]
×
420

421
{ #category : 'accessing' }
422
GLHUser >> job_title: anObject [
×
423
        <generated>
×
424
        job_title := anObject
×
425
]
×
426

427
{ #category : 'accessing' }
428
GLHUser >> jobs [
×
429
        "Relation named: #jobs type: #GLHJob opposite: #user"
×
430

×
431
        <generated>
×
432
        <derived>
×
433
        ^ jobs
×
434
]
×
435

436
{ #category : 'accessing' }
437
GLHUser >> jobs: anObject [
×
438

×
439
        <generated>
×
440
        jobs value: anObject
×
441
]
×
442

443
{ #category : 'navigation' }
444
GLHUser >> jobsGroup [
×
445
        <generated>
×
446
        <navigation: 'Jobs'>
×
447
        ^ MooseSpecializedGroup withAll: self jobs asSet
×
448
]
×
449

450
{ #category : 'accessing' }
451
GLHUser >> linkedin [
×
452

×
453
        <FMProperty: #linkedin type: #String>
×
454
        <generated>
×
455
        ^ linkedin
×
456
]
×
457

458
{ #category : 'accessing' }
459
GLHUser >> linkedin: anObject [
×
460
        <generated>
×
461
        linkedin := anObject
×
462
]
×
463

464
{ #category : 'accessing' }
465
GLHUser >> location [
×
466

×
467
        <FMProperty: #location type: #String>
×
468
        <generated>
×
469
        ^ location
×
470
]
×
471

472
{ #category : 'accessing' }
473
GLHUser >> location: anObject [
×
474
        <generated>
×
475
        location := anObject
×
476
]
×
477

478
{ #category : 'accessing' }
NEW
479
GLHUser >> mergerOfMergeRequests [
×
NEW
480
        "Relation named: #mergerOfMergeRequests type: #GLHMergeRequest opposite: #merged_by"
×
NEW
481

×
NEW
482
        <generated>
×
NEW
483
        <derived>
×
NEW
484
        ^ mergerOfMergeRequests
×
NEW
485
]
×
486

487
{ #category : 'accessing' }
NEW
488
GLHUser >> mergerOfMergeRequests: anObject [
×
NEW
489

×
NEW
490
        <generated>
×
NEW
491
        mergerOfMergeRequests value: anObject
×
NEW
492
]
×
493

494
{ #category : 'accessing' }
495
GLHUser >> name [
1✔
496

1✔
497
        <FMProperty: #name type: #String>
1✔
498
        <generated>
1✔
499
        ^ name
1✔
500
]
1✔
501

502
{ #category : 'accessing' }
503
GLHUser >> name: anObject [
1✔
504
        <generated>
1✔
505
        name := anObject
1✔
506
]
1✔
507

508
{ #category : 'accessing' }
509
GLHUser >> organization [
×
510

×
511
        <FMProperty: #organization type: #String>
×
512
        <generated>
×
513
        ^ organization
×
514
]
×
515

516
{ #category : 'accessing' }
517
GLHUser >> organization: anObject [
×
518
        <generated>
×
519
        organization := anObject
×
520
]
×
521

522
{ #category : 'accessing' }
523
GLHUser >> pronouns [
×
524

×
525
        <FMProperty: #pronouns type: #String>
×
526
        <generated>
×
527
        ^ pronouns
×
528
]
×
529

530
{ #category : 'accessing' }
531
GLHUser >> pronouns: anObject [
×
532
        <generated>
×
533
        pronouns := anObject
×
534
]
×
535

536
{ #category : 'accessing' }
537
GLHUser >> public_email [
1✔
538

1✔
539
        <FMProperty: #public_email type: #String>
1✔
540
        <generated>
1✔
541
        ^ public_email
1✔
542
]
1✔
543

544
{ #category : 'accessing' }
545
GLHUser >> public_email: anObject [
1✔
546
        <generated>
1✔
547
        public_email := anObject
1✔
548
]
1✔
549

550
{ #category : 'accessing' }
NEW
551
GLHUser >> reviewedMergeResquest [
×
NEW
552
        "Relation named: #reviewedMergeResquest type: #GLHMergeRequest opposite: #reviewers"
×
NEW
553

×
NEW
554
        <generated>
×
NEW
555
        ^ reviewedMergeResquest
×
NEW
556
]
×
557

558
{ #category : 'accessing' }
NEW
559
GLHUser >> reviewedMergeResquest: anObject [
×
NEW
560

×
NEW
561
        <generated>
×
NEW
562
        reviewedMergeResquest value: anObject
×
NEW
563
]
×
564

565
{ #category : 'accessing' }
566
GLHUser >> skype [
×
567

×
568
        <FMProperty: #skype type: #String>
×
569
        <generated>
×
570
        ^ skype
×
571
]
×
572

573
{ #category : 'accessing' }
574
GLHUser >> skype: anObject [
×
575
        <generated>
×
576
        skype := anObject
×
577
]
×
578

579
{ #category : 'accessing' }
580
GLHUser >> state [
×
581

×
582
        <FMProperty: #state type: #String>
×
583
        <generated>
×
584
        ^ state
×
585
]
×
586

587
{ #category : 'accessing' }
588
GLHUser >> state: anObject [
×
589
        <generated>
×
590
        state := anObject
×
591
]
×
592

593
{ #category : 'accessing' }
594
GLHUser >> twitter [
×
595

×
596
        <FMProperty: #twitter type: #String>
×
597
        <generated>
×
598
        ^ twitter
×
599
]
×
600

601
{ #category : 'accessing' }
602
GLHUser >> twitter: anObject [
×
603
        <generated>
×
604
        twitter := anObject
×
605
]
×
606

607
{ #category : 'accessing' }
NEW
608
GLHUser >> usedMerges [
×
NEW
609
        "Relation named: #usedMerges type: #GLHMergeRequest opposite: #merge_user"
×
NEW
610

×
NEW
611
        <generated>
×
NEW
612
        <derived>
×
NEW
613
        ^ usedMerges
×
NEW
614
]
×
615

616
{ #category : 'accessing' }
NEW
617
GLHUser >> usedMerges: anObject [
×
NEW
618

×
NEW
619
        <generated>
×
NEW
620
        usedMerges value: anObject
×
NEW
621
]
×
622

623
{ #category : 'accessing' }
624
GLHUser >> username [
1✔
625

1✔
626
        <FMProperty: #username type: #String>
1✔
627
        <generated>
1✔
628
        ^ username
1✔
629
]
1✔
630

631
{ #category : 'accessing' }
632
GLHUser >> username: anObject [
1✔
633
        <generated>
1✔
634
        username := anObject
1✔
635
]
1✔
636

637
{ #category : 'accessing' }
638
GLHUser >> web_url [
×
639

×
640
        <FMProperty: #web_url type: #String>
×
641
        <generated>
×
642
        ^ web_url
×
643
]
×
644

645
{ #category : 'accessing' }
646
GLHUser >> web_url: anObject [
×
647
        <generated>
×
648
        web_url := anObject
×
649
]
×
650

651
{ #category : 'accessing' }
652
GLHUser >> website_url [
×
653

×
654
        <FMProperty: #website_url type: #String>
×
655
        <generated>
×
656
        ^ website_url
×
657
]
×
658

659
{ #category : 'accessing' }
660
GLHUser >> website_url: anObject [
×
661
        <generated>
×
662
        website_url := anObject
×
663
]
×
664

665
{ #category : 'accessing' }
666
GLHUser >> work_information [
×
667

×
668
        <FMProperty: #work_information type: #String>
×
669
        <generated>
×
670
        ^ work_information
×
671
]
×
672

673
{ #category : 'accessing' }
674
GLHUser >> work_information: anObject [
×
675
        <generated>
×
676
        work_information := anObject
×
677
]
×
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