Skip to content

Commit

Permalink
Restored the detection of refactoring
Browse files Browse the repository at this point in the history
Rename Class org.junit.gen5.engine.HierarchicalTestEngine renamed to org.junit.gen5.engine.HierarchicalTestExecutor
in commit
junit-team/junit5@cfefe1e#diff-4c1994540adc36c44d9aa59ef4f3123ef309001cc6cb22587193e7df92930b3b
  • Loading branch information
tsantalis committed Feb 14, 2024
1 parent 04cd4d4 commit 9bbfda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gr/uom/java/xmi/UMLAbstractClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ else if(commonOperations.size() >= Math.floor((totalOperations-totalDefaultOpera
int abstractOperationsToBeDeducted = this.isAbstract() != umlClass.isAbstract() ? totalAbstractOperations : 0;
if((commonOperations.size() > Math.floor(totalOperations/2.0) && (commonAttributes.size() > 2 || totalAttributes == 0)) ||
(commonOperations.size() > Math.floor(totalOperations/3.0*2.0) && (commonAttributes.size() >= 2 || totalAttributes == 0)) ||
(identicalOperations.size() >= commonOperations.size() && commonOperations.size() > 2 && identicalOperations.size() >= Math.floor((totalOperations - abstractOperationsToBeDeducted)/3.0*2.0)) ||
(identicalOperations.size() > Math.floor(commonOperations.size()/3.0*2.0) && commonOperations.size() > 2 && identicalOperations.size() >= Math.floor((totalOperations - abstractOperationsToBeDeducted)/3.0*2.0)) ||
(commonAttributes.size() > Math.floor(totalAttributes/2.0) && (commonOperations.size() > 2 || totalOperations == 0)) ||
(commonOperations.size() == totalOperations && commonOperations.size() > 2 && this.attributes.size() == umlClass.attributes.size()) ||
(commonOperations.size() == totalOperations && commonOperations.size() > 2 && totalAttributes == 1) ||
Expand Down

0 comments on commit 9bbfda4

Please sign in to comment.