Skip to content

Commit f15c887

Browse files
authored
Merge pull request #9 from softvis-research/development
remove method properties incomingCalls and outgoingCalls
2 parents 3cf9d8b + fe03454 commit f15c887

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

src/main/java/org/jqassistant/contrib/plugin/kieker/api/model/MethodDescriptor.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,4 @@ public interface MethodDescriptor extends KiekerDescriptor, NamedDescriptor {
3333
void setDuration(long duration);
3434

3535
long getDuration();
36-
37-
void setIncomingCalls(int incomingCalls);
38-
39-
int getIncomingCalls();
40-
41-
void setOutgoingCalls(int outgoingCalls);
42-
43-
int getOutgoingCalls();
4436
}

src/main/java/org/jqassistant/contrib/plugin/kieker/impl/scanner/KiekerHelper.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,7 @@ void createEvent(AbstractOperationEvent event) {
7878
CallOperationEvent callOperationEvent = (CallOperationEvent) event;
7979
MethodDescriptor caller = getMethodDescriptor(callOperationEvent.getCallerClassSignature(), callOperationEvent.getCallerOperationSignature());
8080
MethodDescriptor callee = getMethodDescriptor(callOperationEvent.getCalleeClassSignature(), callOperationEvent.getCalleeOperationSignature());
81-
// update number of incoming and outgoing calls
82-
if (callOperationEvent.getOrderIndex() == 1) {
83-
caller.setIncomingCalls(caller.getIncomingCalls() + 1);
84-
}
85-
caller.setOutgoingCalls(caller.getOutgoingCalls() + 1);
86-
callee.setIncomingCalls(callee.getIncomingCalls() + 1);
81+
8782
// add call
8883
addCall(caller, callee);
8984
}

0 commit comments

Comments
 (0)