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

moosetechnology / VerveineJ / 15191557690

22 May 2025 04:10PM UTC coverage: 50.616% (+0.6%) from 49.972%
15191557690

push

github

web-flow
Merge pull request #127 from moosetechnology/new-generics-implementation

New generics implementation

1884 of 3956 branches covered (47.62%)

Branch coverage included in aggregate %.

513 of 1119 new or added lines in 53 files covered. (45.84%)

53 existing lines in 10 files now uncovered.

4277 of 8216 relevant lines covered (52.06%)

2.08 hits per line

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

58.0
/app/src/main/java/org/moosetechnology/model/famix/famixjavaentities/Comment.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.TComment;
8
import org.moosetechnology.model.famix.famixtraits.TSourceAnchor;
9
import org.moosetechnology.model.famix.famixtraits.TWithComments;
10

11

12
@FamePackage("Famix-Java-Entities")
13
@FameDescription("Comment")
14
public class Comment extends SourcedEntity implements TComment {
3✔
15

16
    private TWithComments commentedEntity;
17
    
18
    private String content;
19
    
20
    private Number numberOfLinesOfCode;
21
    
22
    private TSourceAnchor sourceAnchor;
23
    
24

25

26
    @FameProperty(name = "commentedEntity", opposite = "comments", container = true)
27
    public TWithComments getCommentedEntity() {
28
        return commentedEntity;
3✔
29
    }
30

31
    public void setCommentedEntity(TWithComments commentedEntity) {
32
        if (this.commentedEntity != null) {
3✔
33
            if (this.commentedEntity.equals(commentedEntity)) return;
6!
34
            this.commentedEntity.getComments().remove(this);
×
35
        }
36
        this.commentedEntity = commentedEntity;
3✔
37
        if (commentedEntity == null) return;
2!
38
        commentedEntity.getComments().add(this);
5✔
39
    }
1✔
40
    
41
    @FameProperty(name = "content")
42
    public String getContent() {
43
        return content;
3✔
44
    }
45

46
    public void setContent(String content) {
47
        this.content = content;
3✔
48
    }
1✔
49
    
50
    @FameProperty(name = "fanIn", derived = true)
51
    public Number getFanIn() {
52
        // TODO: this is a derived property, implement this method manually.
NEW
53
        throw new UnsupportedOperationException("Not yet implemented!");  
×
54
    }
55
    
56
    @FameProperty(name = "fanOut", derived = true)
57
    public Number getFanOut() {
58
        // TODO: this is a derived property, implement this method manually.
NEW
59
        throw new UnsupportedOperationException("Not yet implemented!");  
×
60
    }
61
    
62
    @FameProperty(name = "isDead", derived = true)
63
    public Boolean getIsDead() {
64
        // TODO: this is a derived property, implement this method manually.
NEW
65
        throw new UnsupportedOperationException("Not yet implemented!");  
×
66
    }
67
    
68
    @FameProperty(name = "isRoot", derived = true)
69
    public Boolean getIsRoot() {
70
        // TODO: this is a derived property, implement this method manually.
NEW
71
        throw new UnsupportedOperationException("Not yet implemented!");  
×
72
    }
73
    
74
    @FameProperty(name = "numberOfChildren", derived = true)
75
    public Number getNumberOfChildren() {
76
        // TODO: this is a derived property, implement this method manually.
NEW
77
        throw new UnsupportedOperationException("Not yet implemented!");  
×
78
    }
79
    
80
    @FameProperty(name = "numberOfDeadChildren", derived = true)
81
    public Number getNumberOfDeadChildren() {
82
        // TODO: this is a derived property, implement this method manually.
NEW
83
        throw new UnsupportedOperationException("Not yet implemented!");  
×
84
    }
85
    
86
    @FameProperty(name = "numberOfExternalClients", derived = true)
87
    public Number getNumberOfExternalClients() {
88
        // TODO: this is a derived property, implement this method manually.
NEW
89
        throw new UnsupportedOperationException("Not yet implemented!");  
×
90
    }
91
    
92
    @FameProperty(name = "numberOfExternalProviders", derived = true)
93
    public Number getNumberOfExternalProviders() {
94
        // TODO: this is a derived property, implement this method manually.
NEW
95
        throw new UnsupportedOperationException("Not yet implemented!");  
×
96
    }
97
    
98
    @FameProperty(name = "numberOfInternalClients", derived = true)
99
    public Number getNumberOfInternalClients() {
100
        // TODO: this is a derived property, implement this method manually.
NEW
101
        throw new UnsupportedOperationException("Not yet implemented!");  
×
102
    }
103
    
104
    @FameProperty(name = "numberOfInternalProviders", derived = true)
105
    public Number getNumberOfInternalProviders() {
106
        // TODO: this is a derived property, implement this method manually.
NEW
107
        throw new UnsupportedOperationException("Not yet implemented!");  
×
108
    }
109
    
110
    @FameProperty(name = "numberOfLinesOfCode")
111
    public Number getNumberOfLinesOfCode() {
112
        return numberOfLinesOfCode;
3✔
113
    }
114

115
    public void setNumberOfLinesOfCode(Number numberOfLinesOfCode) {
NEW
116
        this.numberOfLinesOfCode = numberOfLinesOfCode;
×
NEW
117
    }
×
118
    
119
    @FameProperty(name = "numberOfLinesOfCodeWithMoreThanOneCharacter", derived = true)
120
    public Number getNumberOfLinesOfCodeWithMoreThanOneCharacter() {
121
        // TODO: this is a derived property, implement this method manually.
NEW
122
        throw new UnsupportedOperationException("Not yet implemented!");  
×
123
    }
124
    
125
    @FameProperty(name = "sourceAnchor", opposite = "element", derived = true)
126
    public TSourceAnchor getSourceAnchor() {
127
        return sourceAnchor;
3✔
128
    }
129

130
    public void setSourceAnchor(TSourceAnchor sourceAnchor) {
131
        if (this.sourceAnchor == null ? sourceAnchor != null : !this.sourceAnchor.equals(sourceAnchor)) {
11!
132
            TSourceAnchor old_sourceAnchor = this.sourceAnchor;
3✔
133
            this.sourceAnchor = sourceAnchor;
3✔
134
            if (old_sourceAnchor != null) old_sourceAnchor.setElement(null);
2!
135
            if (sourceAnchor != null) sourceAnchor.setElement(this);
5!
136
        }
137
    }
1✔
138
    
139
    @FameProperty(name = "sourceText", derived = true)
140
    public String getSourceText() {
141
        // TODO: this is a derived property, implement this method manually.
NEW
142
        throw new UnsupportedOperationException("Not yet implemented!");  
×
143
    }
144
    
145

146

147
}
148

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