In the source code present in osmarleandro/RefactoringMiner@38b41e6 commit, I applied a single Rename Method refactoring to isParameter() method in the VariableDeclaration class. RefDiff yields four instances of Extract and Move Method refactoring.
Code example
Diff fragment between the commit osmarleandro/RefactoringMiner@38b41e6 and their parent.
Run RefDiff and give as input the commit osmarleandro/RefactoringMiner@38b41e6.
Actual results
EXTRACT_MOVE {Method allVariablesAreParameters() at src/gr/uom/java/xmi/diff/SplitVariableRefactoring.java:52} {Method isParameter_RENAMED() at src/gr/uom/java/xmi/decomposition/VariableDeclaration.java:118})
EXTRACT_MOVE {Method getRefactoringType() at src/gr/uom/java/xmi/diff/RenameVariableRefactoring.java:36} {Method isParameter_RENAMED() at src/gr/uom/java/xmi/decomposition/VariableDeclaration.java:118})
EXTRACT_MOVE {Method allVariablesAreParameters() at src/gr/uom/java/xmi/diff/MergeVariableRefactoring.java:52} {Method isParameter_RENAMED() at src/gr/uom/java/xmi/decomposition/VariableDeclaration.java:118})
EXTRACT_MOVE {Method getRefactoringType() at src/gr/uom/java/xmi/diff/ChangeVariableTypeRefactoring.java:42} {Method isParameter_RENAMED() at src/gr/uom/java/xmi/decomposition/VariableDeclaration.java:118})
Expected results
A single instance of the Rename Method refactoring applied to isParameter() method in the VariableDeclaration class.
Summary
In the source code present in osmarleandro/RefactoringMiner@38b41e6 commit, I applied a single Rename Method refactoring to isParameter() method in the VariableDeclaration class. RefDiff yields four instances of Extract and Move Method refactoring.
Code example
Diff fragment between the commit osmarleandro/RefactoringMiner@38b41e6 and their parent.
Environment details
RefDiff 2.0
Steps to reproduce
Actual results
Expected results
A single instance of the Rename Method refactoring applied to isParameter() method in the VariableDeclaration class.