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

moosetechnology / VerveineJ / 22185271598

19 Feb 2026 02:12PM UTC coverage: 51.954% (+0.4%) from 51.544%
22185271598

push

github

web-flow
Merge pull request #199 from moosetechnology/initializers

Introducing initializers

1972 of 3976 branches covered (49.6%)

Branch coverage included in aggregate %.

105 of 127 new or added lines in 26 files covered. (82.68%)

1 existing line in 1 file now uncovered.

4343 of 8179 relevant lines covered (53.1%)

2.15 hits per line

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

30.09
/app/src/main/java/org/moosetechnology/model/famix/famixjavaentities/ImplicitVariable.java
1
// Automagically generated code, please do not change
2
package org.moosetechnology.model.famix.famixjavaentities;
3

4
import ch.akuhn.fame.FameDescription;
5
import ch.akuhn.fame.FamePackage;
6
import ch.akuhn.fame.FameProperty;
7
import ch.akuhn.fame.internal.MultivalueSet;
8
import java.util.*;
9
import org.moosetechnology.model.famix.famixtraits.TAccess;
10
import org.moosetechnology.model.famix.famixtraits.TEntityTyping;
11
import org.moosetechnology.model.famix.famixtraits.TImplicitVariable;
12
import org.moosetechnology.model.famix.famixtraits.TSourceAnchor;
13
import org.moosetechnology.model.famix.famixtraits.TType;
14
import org.moosetechnology.model.famix.famixtraits.TWithAccesses;
15
import org.moosetechnology.model.famix.famixtraits.TWithImplicitVariables;
16

17

18
@FamePackage("Famix-Java-Entities")
19
@FameDescription("ImplicitVariable")
20
public class ImplicitVariable extends Variable implements TImplicitVariable {
3✔
21

22
    private Collection<TAccess> incomingAccesses; 
23

24
    private Boolean isStub;
25
    
26
    private String name;
27
    
28
    private Number numberOfLinesOfCode;
29
    
30
    private TWithImplicitVariables parentBehaviouralEntity;
31
    
32
    private TSourceAnchor sourceAnchor;
33
    
34
    private TEntityTyping typing;
35
    
36

37

38
    @FameProperty(name = "accessors", derived = true)
39
    public Collection<TWithAccesses> getAccessors() {
40
        // TODO: this is a derived property, implement this method manually.
41
        throw new UnsupportedOperationException("Not yet implemented!");  
5✔
42
    }
43
        
44
    @FameProperty(name = "fanIn", derived = true)
45
    public Number getFanIn() {
46
        // TODO: this is a derived property, implement this method manually.
47
        throw new UnsupportedOperationException("Not yet implemented!");  
×
48
    }
49
    
50
    @FameProperty(name = "fanOut", derived = true)
51
    public Number getFanOut() {
52
        // TODO: this is a derived property, implement this method manually.
53
        throw new UnsupportedOperationException("Not yet implemented!");  
×
54
    }
55

56
    @FameProperty(name = "incomingAccesses", opposite = "candidates")
57
    public Collection<TAccess> getIncomingAccesses() {
58
        if (incomingAccesses == null) {
3✔
59
            incomingAccesses = new MultivalueSet<TAccess>() {
12✔
60
                @Override
61
                protected void clearOpposite(TAccess e) { e.getCandidates().remove(ImplicitVariable.this);
×
62
                }
×
63
                @Override
64
                protected void setOpposite(TAccess e) {
65
                    e.getCandidates().add(ImplicitVariable.this);
6✔
66
                }
1✔
67
            };
68
        }
69
        return incomingAccesses;
3✔
70
    }
71
    
72
    public void setIncomingAccesses(Collection<? extends TAccess> incomingAccesses) {
73
        this.getIncomingAccesses().clear();
3✔
74
        this.getIncomingAccesses().addAll(incomingAccesses);
5✔
75
    }                    
1✔
76
    
77
        
78
    public void addIncomingAccesses(TAccess one) {
79
        this.getIncomingAccesses().add(one);
×
80
    }   
×
81
    
82
    public void addIncomingAccesses(TAccess one, TAccess... many) {
83
        this.getIncomingAccesses().add(one);
×
84
        for (TAccess each : many)
×
85
            this.getIncomingAccesses().add(each);
×
86
    }   
×
87
    
88
    public void addIncomingAccesses(Iterable<? extends TAccess> many) {
89
        for (TAccess each : many)
×
90
            this.getIncomingAccesses().add(each);
×
91
    }   
×
92
                
93
    public void addIncomingAccesses(TAccess[] many) {
94
        for (TAccess each : many)
×
95
            this.getIncomingAccesses().add(each);
×
96
    }
×
97
    
98
    public int numberOfIncomingAccesses() {
99
        return getIncomingAccesses().size();
×
100
    }
101

102
    public boolean hasIncomingAccesses() {
103
        return !getIncomingAccesses().isEmpty();
×
104
    }
105

106
    @FameProperty(name = "isDead", derived = true)
107
    public Boolean getIsDead() {
108
        // TODO: this is a derived property, implement this method manually.
109
        throw new UnsupportedOperationException("Not yet implemented!");  
×
110
    }
111
    
112
    @FameProperty(name = "isRoot", derived = true)
113
    public Boolean getIsRoot() {
114
        // TODO: this is a derived property, implement this method manually.
115
        throw new UnsupportedOperationException("Not yet implemented!");  
×
116
    }
117
    
118
    @FameProperty(name = "isStub")
119
    public Boolean getIsStub() {
120
        return isStub;
3✔
121
    }
122

123
    public void setIsStub(Boolean isStub) {
124
        this.isStub = isStub;
3✔
125
    }
1✔
126
    
127
    @FameProperty(name = "name")
128
    public String getName() {
129
        return name;
3✔
130
    }
131

132
    public void setName(String name) {
133
        this.name = name;
3✔
134
    }
1✔
135
    
136
    @FameProperty(name = "numberOfAccesses", derived = true)
137
    public Number getNumberOfAccesses() {
138
        // TODO: this is a derived property, implement this method manually.
139
        throw new UnsupportedOperationException("Not yet implemented!");  
×
140
    }
141
    
142
    @FameProperty(name = "numberOfAccessingClasses", derived = true)
143
    public Number getNumberOfAccessingClasses() {
144
        // TODO: this is a derived property, implement this method manually.
145
        throw new UnsupportedOperationException("Not yet implemented!");  
×
146
    }
147
    
148
    @FameProperty(name = "numberOfAccessingMethods", derived = true)
149
    public Number getNumberOfAccessingMethods() {
150
        // TODO: this is a derived property, implement this method manually.
151
        throw new UnsupportedOperationException("Not yet implemented!");  
×
152
    }
153

154
    @FameProperty(name = "numberOfContainedEntities", derived = true)
155
    public Number getNumberOfContainedEntities() {
156
        // TODO: this is a derived property, implement this method manually.
NEW
157
        throw new UnsupportedOperationException("Not yet implemented!");
×
158
    }
159
    
160
    @FameProperty(name = "numberOfDeadChildren", derived = true)
161
    public Number getNumberOfDeadChildren() {
162
        // TODO: this is a derived property, implement this method manually.
163
        throw new UnsupportedOperationException("Not yet implemented!");  
×
164
    }
165
    
166
    @FameProperty(name = "numberOfExternalClients", derived = true)
167
    public Number getNumberOfExternalClients() {
168
        // TODO: this is a derived property, implement this method manually.
169
        throw new UnsupportedOperationException("Not yet implemented!");  
×
170
    }
171
    
172
    @FameProperty(name = "numberOfExternalProviders", derived = true)
173
    public Number getNumberOfExternalProviders() {
174
        // TODO: this is a derived property, implement this method manually.
175
        throw new UnsupportedOperationException("Not yet implemented!");  
×
176
    }
177
    
178
    @FameProperty(name = "numberOfGlobalAccesses", derived = true)
179
    public Number getNumberOfGlobalAccesses() {
180
        // TODO: this is a derived property, implement this method manually.
181
        throw new UnsupportedOperationException("Not yet implemented!");  
×
182
    }
183
    
184
    @FameProperty(name = "numberOfInternalClients", derived = true)
185
    public Number getNumberOfInternalClients() {
186
        // TODO: this is a derived property, implement this method manually.
187
        throw new UnsupportedOperationException("Not yet implemented!");  
×
188
    }
189
    
190
    @FameProperty(name = "numberOfInternalProviders", derived = true)
191
    public Number getNumberOfInternalProviders() {
192
        // TODO: this is a derived property, implement this method manually.
193
        throw new UnsupportedOperationException("Not yet implemented!");  
×
194
    }
195
    
196
    @FameProperty(name = "numberOfLinesOfCode")
197
    public Number getNumberOfLinesOfCode() {
198
        return numberOfLinesOfCode;
3✔
199
    }
200

201
    public void setNumberOfLinesOfCode(Number numberOfLinesOfCode) {
202
        this.numberOfLinesOfCode = numberOfLinesOfCode;
×
203
    }
×
204
    
205
    @FameProperty(name = "numberOfLinesOfCodeWithMoreThanOneCharacter", derived = true)
206
    public Number getNumberOfLinesOfCodeWithMoreThanOneCharacter() {
207
        // TODO: this is a derived property, implement this method manually.
208
        throw new UnsupportedOperationException("Not yet implemented!");  
×
209
    }
210
    
211
    @FameProperty(name = "numberOfLocalAccesses", derived = true)
212
    public Number getNumberOfLocalAccesses() {
213
        // TODO: this is a derived property, implement this method manually.
214
        throw new UnsupportedOperationException("Not yet implemented!");  
×
215
    }
216
    
217
    @FameProperty(name = "parentBehaviouralEntity", opposite = "implicitVariables", container = true)
218
    public TWithImplicitVariables getParentBehaviouralEntity() {
219
        return parentBehaviouralEntity;
3✔
220
    }
221

222
    public void setParentBehaviouralEntity(TWithImplicitVariables parentBehaviouralEntity) {
223
        if (this.parentBehaviouralEntity != null) {
3✔
224
            if (this.parentBehaviouralEntity.equals(parentBehaviouralEntity)) return;
6!
225
            this.parentBehaviouralEntity.getImplicitVariables().remove(this);
×
226
        }
227
        this.parentBehaviouralEntity = parentBehaviouralEntity;
3✔
228
        if (parentBehaviouralEntity == null) return;
2!
229
        parentBehaviouralEntity.getImplicitVariables().add(this);
5✔
230
    }
1✔
231
    
232
    @FameProperty(name = "sourceAnchor", opposite = "element", derived = true)
233
    public TSourceAnchor getSourceAnchor() {
234
        return sourceAnchor;
3✔
235
    }
236

237
    public void setSourceAnchor(TSourceAnchor sourceAnchor) {
238
        if (this.sourceAnchor == null ? sourceAnchor != null : !this.sourceAnchor.equals(sourceAnchor)) {
×
239
            TSourceAnchor old_sourceAnchor = this.sourceAnchor;
×
240
            this.sourceAnchor = sourceAnchor;
×
241
            if (old_sourceAnchor != null) old_sourceAnchor.setElement(null);
×
242
            if (sourceAnchor != null) sourceAnchor.setElement(this);
×
243
        }
244
    }
×
245
    
246
    @FameProperty(name = "sourceText", derived = true)
247
    public String getSourceText() {
248
        // TODO: this is a derived property, implement this method manually.
249
        throw new UnsupportedOperationException("Not yet implemented!");  
×
250
    }
251
    
252
    @FameProperty(name = "typing", opposite = "typedEntity")
253
    public TEntityTyping getTyping() {
254
        return typing;
3✔
255
    }
256

257
    public void setTyping(TEntityTyping typing) {
258
        if (this.typing == null ? typing != null : !this.typing.equals(typing)) {
×
259
            TEntityTyping old_typing = this.typing;
×
260
            this.typing = typing;
×
261
            if (old_typing != null) old_typing.setTypedEntity(null);
×
262
            if (typing != null) typing.setTypedEntity(this);
×
263
        }
264
    }
×
265
    
266
    public TType getDeclaredType() {
267
        return (this.typing == null) ? null : this.typing.getDeclaredType();
6!
268
    }
269

270
}
271

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