• 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

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' }
UNCOV
103
GLHUser class >> annotation [
×
NEW
104

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

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

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

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

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

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

141
{ #category : 'adding' }
UNCOV
142
GLHUser >> addCreatedMergeRequest: anObject [
×
NEW
143
        <generated>
×
144
        ^ self createdMergeRequests add: anObject
×
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' }
UNCOV
154
GLHUser >> addCurrentlyAssignedMergeRequest: anObject [
×
NEW
155
        <generated>
×
156
        ^ self currentlyAssignedMergeRequest add: anObject
×
157
]
×
158

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

×
NEW
283
        <generated>
×
NEW
284
        commits value: anObject
×
NEW
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 [
×
UNCOV
311
        "Relation named: #createdMergeRequests type: #GLHMergeRequest opposite: #author"
×
UNCOV
312

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

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

×
UNCOV
321
        <generated>
×
UNCOV
322
        createdMergeRequests value: anObject
×
UNCOV
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' }
UNCOV
342
GLHUser >> created_at [
×
UNCOV
343

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

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

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

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

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

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

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

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

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

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

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

393
{ #category : 'accessing' }
NEW
394
GLHUser >> following: anObject [
×
NEW
395
        <generated>
×
NEW
396
        following := anObject
×
NEW
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' }
UNCOV
414
GLHUser >> job_title [
×
NEW
415

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

×
490
        <generated>
×
491
        mergerOfMergeRequests value: anObject
×
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' }
NEW
517
GLHUser >> organization: anObject [
×
518
        <generated>
×
519
        organization := anObject
×
520
]
×
521

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

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

530
{ #category : 'accessing' }
UNCOV
531
GLHUser >> pronouns: anObject [
×
NEW
532
        <generated>
×
UNCOV
533
        pronouns := anObject
×
UNCOV
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' }
UNCOV
551
GLHUser >> reviewedMergeResquest [
×
NEW
552
        "Relation named: #reviewedMergeResquest type: #GLHMergeRequest opposite: #reviewers"
×
553

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

×
619
        <generated>
×
620
        usedMerges value: anObject
×
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' }
NEW
646
GLHUser >> web_url: anObject [
×
647
        <generated>
×
648
        web_url := anObject
×
649
]
×
650

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

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

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

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

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

673
{ #category : 'accessing' }
UNCOV
674
GLHUser >> work_information: anObject [
×
NEW
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