CloneSet3832


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.966statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17385
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
27548
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
Clone Instance
1
Line Count
7
Source Line
385
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java

                        IExpressionFragment selectedExpression = getSelectedExpression();

                        if (selectedExpression == null) {
                                String message = RefactoringCoreMessages.ExtractConstantRefactoring_select_expression;
                                return CodeRefactoringUtil.checkMethodSyntaxErrors(fSelectionStart, fSelectionLength, fCuRewrite.getRoot(), message);
                        }
                        pm.worked(1);


Clone Instance
2
Line Count
7
Source Line
548
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java

                        IExpressionFragment selectedExpression = getSelectedExpression();

                        if (selectedExpression == null) {
                                String message = RefactoringCoreMessages.ExtractTempRefactoring_select_expression;
                                return CodeRefactoringUtil.checkMethodSyntaxErrors(fSelectionStart, fSelectionLength, fCompilationUnitNode, message);
                        }
                        pm.worked(1);


Clone AbstractionParameter Count: 2Parameter Bindings

IExpressionFragment selectedExpression = getSelectedExpression();
if (selectedExpression == null) {
  String message = RefactoringCoreMessages. [[#variableb3b93cc0]];
  return CodeRefactoringUtil.checkMethodSyntaxErrors(fSelectionStart, fSelectionLength,  [[#variableb3b933c0]], message);
}
pm.worked(1);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3b93cc0]]
ExtractTempRefactoring_select_expression 
12[[#b3b93cc0]]
ExtractConstantRefactoring_select_expression 
21[[#b3b933c0]]
fCompilationUnitNode 
22[[#b3b933c0]]
fCuRewrite.getRoot()