Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.979 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 580 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java |
2 | 3 | 584 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java |
| ||||
if (isUsedInForInitializerOrUpdater(getSelectedExpression().getAssociatedExpression())) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.ExtractTempRefactoring_for_initializer_updater); pm.worked(1); |
| ||||
if (isReferringToLocalVariableFromFor(getSelectedExpression().getAssociatedExpression())) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.ExtractTempRefactoring_refers_to_for_variable); pm.worked(1); |
| |||
if ( [[#variable5a83b400]](getSelectedExpression().getAssociatedExpression())) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages. [[#variable5a83b420]]); pm.worked(1); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a83b400]] | isUsedInForInitializerOrUpdater |
1 | 2 | [[#5a83b400]] | isReferringToLocalVariableFromFor |
2 | 1 | [[#5a83b420]] | ExtractTempRefactoring_for_initializer_updater |
2 | 2 | [[#5a83b420]] | ExtractTempRefactoring_refers_to_for_variable |