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

moosetechnology / VerveineJ / 16625650762

30 Jul 2025 02:37PM UTC coverage: 50.661% (+0.7%) from 49.972%
16625650762

Pull #143

github

web-flow
Merge 360ab0d89 into 5207a6c7c
Pull Request #143: Issue/142

1888 of 3958 branches covered (47.7%)

Branch coverage included in aggregate %.

516 of 1122 new or added lines in 53 files covered. (45.99%)

53 existing lines in 10 files now uncovered.

4281 of 8219 relevant lines covered (52.09%)

2.08 hits per line

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

0.0
/app/src/main/java/org/moosetechnology/model/famix/famixjavaentities/Import.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 org.moosetechnology.model.famix.famixtraits.TAssociation;
8
import org.moosetechnology.model.famix.famixtraits.TImport;
9
import org.moosetechnology.model.famix.famixtraits.TImportable;
10
import org.moosetechnology.model.famix.famixtraits.TSourceAnchor;
11
import org.moosetechnology.model.famix.famixtraits.TWithImports;
12

13

14
@FamePackage("Famix-Java-Entities")
15
@FameDescription("Import")
NEW
16
public class Import extends Entity implements TImport {
×
17

18
    private TImportable importedEntity;
19
    
20
    private TWithImports importingEntity;
21
    
22
    private TAssociation next;
23
    
24
    private Number numberOfLinesOfCode;
25
    
26
    private TAssociation previous;
27
    
28
    private TSourceAnchor sourceAnchor;
29
    
30

31

32
    @FameProperty(name = "importedEntity", opposite = "incomingImports")
33
    public TImportable getImportedEntity() {
34
        return importedEntity;
×
35
    }
36

37
    public void setImportedEntity(TImportable importedEntity) {
38
        if (this.importedEntity != null) {
×
39
            if (this.importedEntity.equals(importedEntity)) return;
×
40
            this.importedEntity.getIncomingImports().remove(this);
×
41
        }
42
        this.importedEntity = importedEntity;
×
43
        if (importedEntity == null) return;
×
44
        importedEntity.getIncomingImports().add(this);
×
45
    }
×
46
    
47
    @FameProperty(name = "importingEntity", opposite = "imports")
48
    public TWithImports getImportingEntity() {
49
        return importingEntity;
×
50
    }
51

52
    public void setImportingEntity(TWithImports importingEntity) {
53
        if (this.importingEntity != null) {
×
54
            if (this.importingEntity.equals(importingEntity)) return;
×
NEW
55
            this.importingEntity.getImports().remove(this);
×
56
        }
57
        this.importingEntity = importingEntity;
×
58
        if (importingEntity == null) return;
×
NEW
59
        importingEntity.getImports().add(this);
×
60
    }
×
61
    
62
    @FameProperty(name = "next", opposite = "previous", derived = true)
63
    public TAssociation getNext() {
64
        return next;
×
65
    }
66

67
    public void setNext(TAssociation next) {
68
        if (this.next == null ? next != null : !this.next.equals(next)) {
×
69
            TAssociation old_next = this.next;
×
70
            this.next = next;
×
71
            if (old_next != null) old_next.setPrevious(null);
×
72
            if (next != null) next.setPrevious(this);
×
73
        }
74
    }
×
75
    
76
    @FameProperty(name = "numberOfLinesOfCode")
77
    public Number getNumberOfLinesOfCode() {
78
        return numberOfLinesOfCode;
×
79
    }
80

81
    public void setNumberOfLinesOfCode(Number numberOfLinesOfCode) {
82
        this.numberOfLinesOfCode = numberOfLinesOfCode;
×
83
    }
×
84
    
85
    @FameProperty(name = "numberOfLinesOfCodeWithMoreThanOneCharacter", derived = true)
86
    public Number getNumberOfLinesOfCodeWithMoreThanOneCharacter() {
87
        // TODO: this is a derived property, implement this method manually.
88
        throw new UnsupportedOperationException("Not yet implemented!");  
×
89
    }
90
    
91
    @FameProperty(name = "previous", opposite = "next")
92
    public TAssociation getPrevious() {
93
        return previous;
×
94
    }
95

96
    public void setPrevious(TAssociation previous) {
97
        if (this.previous == null ? previous != null : !this.previous.equals(previous)) {
×
98
            TAssociation old_previous = this.previous;
×
99
            this.previous = previous;
×
100
            if (old_previous != null) old_previous.setNext(null);
×
101
            if (previous != null) previous.setNext(this);
×
102
        }
103
    }
×
104
    
105
    @FameProperty(name = "sourceAnchor", opposite = "element", derived = true)
106
    public TSourceAnchor getSourceAnchor() {
107
        return sourceAnchor;
×
108
    }
109

110
    public void setSourceAnchor(TSourceAnchor sourceAnchor) {
111
        if (this.sourceAnchor == null ? sourceAnchor != null : !this.sourceAnchor.equals(sourceAnchor)) {
×
112
            TSourceAnchor old_sourceAnchor = this.sourceAnchor;
×
113
            this.sourceAnchor = sourceAnchor;
×
114
            if (old_sourceAnchor != null) old_sourceAnchor.setElement(null);
×
115
            if (sourceAnchor != null) sourceAnchor.setElement(this);
×
116
        }
117
    }
×
118
    
119
    @FameProperty(name = "sourceText", derived = true)
120
    public String getSourceText() {
121
        // TODO: this is a derived property, implement this method manually.
122
        throw new UnsupportedOperationException("Not yet implemented!");  
×
123
    }
124
    
125

126

127
}
128

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