Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.966 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 385 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java |
2 | 7 | 548 | 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.ExtractConstantRefactoring_select_expression; return CodeRefactoringUtil.checkMethodSyntaxErrors(fSelectionStart, fSelectionLength, fCuRewrite.getRoot(), message); } pm.worked(1); |
| ||||
IExpressionFragment selectedExpression = getSelectedExpression(); if (selectedExpression == null) { String message = RefactoringCoreMessages.ExtractTempRefactoring_select_expression; return CodeRefactoringUtil.checkMethodSyntaxErrors(fSelectionStart, fSelectionLength, fCompilationUnitNode, message); } pm.worked(1); |
| |||
IExpressionFragment selectedExpression = getSelectedExpression(); if (selectedExpression == null) { String message = RefactoringCoreMessages. [[#variableb3b93cc0]]; return CodeRefactoringUtil.checkMethodSyntaxErrors(fSelectionStart, fSelectionLength, [[#variableb3b933c0]], message); } pm.worked(1); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3b93cc0]] | ExtractTempRefactoring_select_expression |
1 | 2 | [[#b3b93cc0]] | ExtractConstantRefactoring_select_expression |
2 | 1 | [[#b3b933c0]] | fCompilationUnitNode |
2 | 2 | [[#b3b933c0]] | fCuRewrite.getRoot() |