aserg-ufmg/RefDiff

Is it missing the Rename Method refactoring?

Opened this issue · 0 comments

Summary

In the source code present in osmarleandro/RefactoringMiner@cf32531 commit, I applied a single Rename Method refactoring to getRegex() method in the RefactoringType class. RefDiff yields an empty list of refactoring. Is it missing this true instance of Rename Method refactoring?

Code example

Diff fragment between the commit osmarleandro/RefactoringMiner@cf32531 and their parent.

@@ -121,7 +121,7 @@ public enum RefactoringType {
                this.aggregateGroups = aggregateGroups;
        }
 
-       public Pattern getRegex() {
+       public Pattern getRegex_RENAMED() {
         return regex;
     }

Environment details

RefDiff 2.0

Steps to reproduce

  1. Run RefDiff and pass as input the commit osmarleandro/RefactoringMiner@cf32531.

Expected results

A single instance of the Rename Method refactoring applied to getRegex() method in the RefactoringType class.