CloneSet8809


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.975executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15362
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java
25369
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java
Clone Instance
1
Line Count
5
Source Line
362
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java

                                                                                                             {
                                        result.addError(Messages.format(
                                                RefactoringCoreMessages.ExtractMethodRefactoring_error_sameParameter, 
                                                other.getNewName()     ));
                                        return result;
                                                                                                             }


Clone Instance
2
Line Count
5
Source Line
369
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java

                                                                                                  {
                                result.addError(Messages.format(
                                        RefactoringCoreMessages.ExtractMethodRefactoring_error_nameInUse, 
                                        parameter.getNewName() ));
                                return result;
                                                                                                  }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  result.addError(Messages.format(RefactoringCoreMessages. [[#variablec114de20]],  [[#variablec114dd80]].getNewName()));
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c114de20]]
ExtractMethodRefactoring_error_nameInUse 
12[[#c114de20]]
ExtractMethodRefactoring_error_sameParameter 
21[[#c114dd80]]
parameter 
22[[#c114dd80]]
other