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

moosetechnology / VerveineJ / 16630354751

30 Jul 2025 06:10PM UTC coverage: 50.681% (+0.7%) from 49.972%
16630354751

Pull #147

github

web-flow
Merge 307520ee4 into 5207a6c7c
Pull Request #147: Issue/146

1892 of 3962 branches covered (47.75%)

Branch coverage included in aggregate %.

519 of 1127 new or added lines in 53 files covered. (46.05%)

53 existing lines in 10 files now uncovered.

4282 of 8220 relevant lines covered (52.09%)

2.08 hits per line

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

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

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

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

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

133
    public void setName(String name) {
134
        this.name = name;
3✔
135
    }
1✔
136
    
137
    @FameProperty(name = "numberOfAccesses", derived = true)
138
    public Number getNumberOfAccesses() {
139
        // TODO: this is a derived property, implement this method manually.
140
        throw new UnsupportedOperationException("Not yet implemented!");  
×
141
    }
142
    
143
    @FameProperty(name = "numberOfAccessingClasses", derived = true)
144
    public Number getNumberOfAccessingClasses() {
145
        // TODO: this is a derived property, implement this method manually.
146
        throw new UnsupportedOperationException("Not yet implemented!");  
×
147
    }
148
    
149
    @FameProperty(name = "numberOfAccessingMethods", derived = true)
150
    public Number getNumberOfAccessingMethods() {
151
        // TODO: this is a derived property, implement this method manually.
152
        throw new UnsupportedOperationException("Not yet implemented!");  
×
153
    }
154
    
155
    @FameProperty(name = "numberOfChildren", derived = true)
156
    public Number getNumberOfChildren() {
157
        // TODO: this is a derived property, implement this method manually.
158
        throw new UnsupportedOperationException("Not yet implemented!");  
×
159
    }
160
    
161
    @FameProperty(name = "numberOfDeadChildren", derived = true)
162
    public Number getNumberOfDeadChildren() {
163
        // TODO: this is a derived property, implement this method manually.
164
        throw new UnsupportedOperationException("Not yet implemented!");  
×
165
    }
166
    
167
    @FameProperty(name = "numberOfExternalClients", derived = true)
168
    public Number getNumberOfExternalClients() {
169
        // TODO: this is a derived property, implement this method manually.
170
        throw new UnsupportedOperationException("Not yet implemented!");  
×
171
    }
172
    
173
    @FameProperty(name = "numberOfExternalProviders", derived = true)
174
    public Number getNumberOfExternalProviders() {
175
        // TODO: this is a derived property, implement this method manually.
176
        throw new UnsupportedOperationException("Not yet implemented!");  
×
177
    }
178
    
179
    @FameProperty(name = "numberOfGlobalAccesses", derived = true)
180
    public Number getNumberOfGlobalAccesses() {
181
        // TODO: this is a derived property, implement this method manually.
182
        throw new UnsupportedOperationException("Not yet implemented!");  
×
183
    }
184
    
185
    @FameProperty(name = "numberOfInternalClients", derived = true)
186
    public Number getNumberOfInternalClients() {
187
        // TODO: this is a derived property, implement this method manually.
188
        throw new UnsupportedOperationException("Not yet implemented!");  
×
189
    }
190
    
191
    @FameProperty(name = "numberOfInternalProviders", derived = true)
192
    public Number getNumberOfInternalProviders() {
193
        // TODO: this is a derived property, implement this method manually.
194
        throw new UnsupportedOperationException("Not yet implemented!");  
×
195
    }
196
    
197
    @FameProperty(name = "numberOfLinesOfCode")
198
    public Number getNumberOfLinesOfCode() {
199
        return numberOfLinesOfCode;
3✔
200
    }
201

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

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

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

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

271
}
272

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