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

moosetechnology / GitProjectHealth / 9549969001

17 Jun 2024 02:58PM UTC coverage: 26.896% (-2.6%) from 29.45%
9549969001

push

github

HLAD Nicolas
Merge 10a1182e1

1830 of 6804 relevant lines covered (26.9%)

0.27 hits per line

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

7.89
/src/GitLabHealth-Model/GLHBranch.class.st
1
"
2
A git branch
3

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

7
### Parents
8
| Relation | Origin | Opposite | Type | Comment |
9
|---|
10
| `repository` | `GLHBranch` | `branches` | `GLHRepository` | |
11

12
### Children
13
| Relation | Origin | Opposite | Type | Comment |
14
|---|
15
| `commits` | `GLHBranch` | `branch` | `GLHCommit` | |
16
| `files` | `GLHBranch` | `branch` | `GLHFile` | |
17

18

19
## Properties
20
======================
21

22
| Name | Type | Default value | Comment |
23
|---|
24
| `name` | `String` | nil | |
25

26
"
27
Class {
28
        #name : #GLHBranch,
29
        #superclass : #GLHEntity,
30
        #instVars : [
31
                '#name => FMProperty',
32
                '#repository => FMOne type: #GLHRepository opposite: #branches',
33
                '#files => FMMany type: #GLHFile opposite: #branch',
34
                '#commits => FMMany type: #GLHCommit opposite: #branch'
35
        ],
36
        #category : #'GitLabHealth-Model-Entities'
37
}
38

39
{ #category : #meta }
40
GLHBranch class >> annotation [
×
41

×
42
        <FMClass: #Branch super: #GLHEntity>
×
43
        <package: #'GitLabHealth-Model'>
×
44
        <generated>
×
45
        ^ self
×
46
]
×
47

48
{ #category : #adding }
49
GLHBranch >> addCommit: anObject [
×
50
        <generated>
×
51
        ^ self commits add: anObject
×
52
]
×
53

54
{ #category : #adding }
55
GLHBranch >> addFile: anObject [
×
56
        <generated>
×
57
        ^ self files add: anObject
×
58
]
×
59

60
{ #category : #accessing }
61
GLHBranch >> commits [
×
62
        "Relation named: #commits type: #GLHCommit opposite: #branch"
×
63

×
64
        <generated>
×
65
        <derived>
×
66
        ^ commits
×
67
]
×
68

69
{ #category : #accessing }
70
GLHBranch >> commits: anObject [
×
71

×
72
        <generated>
×
73
        commits value: anObject
×
74
]
×
75

76
{ #category : #navigation }
77
GLHBranch >> commitsGroup [
×
78
        <generated>
×
79
        <navigation: 'Commits'>
×
80
        ^ MooseSpecializedGroup withAll: self commits asSet
×
81
]
×
82

83
{ #category : #accessing }
84
GLHBranch >> files [
×
85
        "Relation named: #files type: #GLHFile opposite: #branch"
×
86

×
87
        <generated>
×
88
        <derived>
×
89
        ^ files
×
90
]
×
91

92
{ #category : #accessing }
93
GLHBranch >> files: anObject [
×
94

×
95
        <generated>
×
96
        files value: anObject
×
97
]
×
98

99
{ #category : #navigation }
100
GLHBranch >> filesGroup [
×
101
        <generated>
×
102
        <navigation: 'Files'>
×
103
        ^ MooseSpecializedGroup withAll: self files asSet
×
104
]
×
105

106
{ #category : #accessing }
107
GLHBranch >> name [
1✔
108

1✔
109
        <FMProperty: #name type: #String>
1✔
110
        <generated>
1✔
111
        ^ name
1✔
112
]
1✔
113

114
{ #category : #accessing }
115
GLHBranch >> name: anObject [
×
116
        <generated>
×
117
        name := anObject
×
118
]
×
119

120
{ #category : #accessing }
121
GLHBranch >> repository [
×
122
        "Relation named: #repository type: #GLHRepository opposite: #branches"
×
123

×
124
        <generated>
×
125
        <container>
×
126
        ^ repository
×
127
]
×
128

129
{ #category : #accessing }
130
GLHBranch >> repository: anObject [
×
131

×
132
        <generated>
×
133
        repository := anObject
×
134
]
×
135

136
{ #category : #navigation }
137
GLHBranch >> repositoryGroup [
×
138
        <generated>
×
139
        <navigation: 'Repository'>
×
140
        ^ MooseSpecializedGroup with: self repository
×
141
]
×
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

© 2026 Coveralls, Inc