Skip to content

Is it missing the Rename Method refactoring? #18

@osmarleandro

Description

@osmarleandro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions