| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 18 | 3 | 0.975 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 1091 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
| 2 | 4 | 877 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java |
| 3 | 4 | 995 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java |
| 4 | 4 | 1010 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java |
| 5 | 4 | 573 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineMethodRefactoring.java |
| 6 | 4 | 877 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
| 7 | 4 | 887 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
| 8 | 4 | 554 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ReplaceInvocationsRefactoring.java |
| 9 | 4 | 701 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
| 10 | 4 | 711 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
| 11 | 4 | 2481 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java |
| 12 | 4 | 960 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java |
| 13 | 4 | 969 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java |
| 14 | 4 | 978 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java |
| 15 | 4 | 987 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java |
| 16 | 4 | 1630 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java |
| 17 | 4 | 1639 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java |
| 18 | 4 | 1648 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java |
| ||||
try {
flag = Integer.parseInt(visibility);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_VISIBILITY));
}
|
| ||||
try {
flag = Integer.parseInt(visibility);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_VISIBILITY));
}
|
| ||||
try {
flag = Integer.parseInt(visibility);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_VISIBILITY));
}
|
| ||||
try {
index = Integer.parseInt(destination);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_DESTINATION));
}
|
| ||||
try {
mode = Integer.parseInt(value);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_MODE));
}
|
| ||||
try {
flag = Integer.parseInt(visibility);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_VISIBILITY));
}
|
| ||||
try {
value = Integer.parseInt(initialize);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_INITIALIZE));
}
|
| ||||
try {
mode = Integer.parseInt(value);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_MODE));
}
|
| ||||
try {
flag = Integer.parseInt(visibility);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_VISIBILITY));
}
|
| ||||
try {
index = Integer.parseInt(insertion);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_INSERTION));
}
|
| ||||
try {
flag = Integer.parseInt(visibility);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_VISIBILITY));
}
|
| ||||
try {
abstractCount = Integer.parseInt(value);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_ABSTRACT));
}
|
| ||||
try {
deleteCount = Integer.parseInt(value);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_DELETE));
}
|
| ||||
try {
extractCount = Integer.parseInt(value);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_EXTRACT));
}
|
| ||||
try {
typeCount = Integer.parseInt(value);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_TYPES));
}
|
| ||||
try {
abstractCount = Integer.parseInt(value);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_ABSTRACT));
}
|
| ||||
try {
deleteCount = Integer.parseInt(value);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_DELETE));
}
|
| ||||
try {
pullCount = Integer.parseInt(value);
} catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_PULL));
}
|
| |||
try {
[[#variableb5ab7e40]]= Integer.parseInt( [[#variableb5ab7dc0]]);
}
catch (NumberFormatException exception) {
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, [[#variableb5ab7ae0]]));
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b5ab7e40]] | flag |
| 1 | 2 | [[#b5ab7e40]] | deleteCount |
| 1 | 3 | [[#b5ab7e40]] | mode |
| 1 | 4 | [[#b5ab7e40]] | abstractCount |
| 1 | 5 | [[#b5ab7e40]] | index |
| 1 | 6 | [[#b5ab7e40]] | value |
| 1 | 7 | [[#b5ab7e40]] | index |
| 1 | 8 | [[#b5ab7e40]] | typeCount |
| 1 | 9 | [[#b5ab7e40]] | extractCount |
| 1 | 10 | [[#b5ab7e40]] | pullCount |
| 1 | 11 | [[#b5ab7e40]] | flag |
| 1 | 12 | [[#b5ab7e40]] | flag |
| 1 | 13 | [[#b5ab7e40]] | flag |
| 1 | 14 | [[#b5ab7e40]] | flag |
| 1 | 15 | [[#b5ab7e40]] | mode |
| 1 | 16 | [[#b5ab7e40]] | flag |
| 1 | 17 | [[#b5ab7e40]] | deleteCount |
| 1 | 18 | [[#b5ab7e40]] | abstractCount |
| 2 | 1 | [[#b5ab7dc0]] | visibility |
| 2 | 2 | [[#b5ab7dc0]] | value |
| 2 | 3 | [[#b5ab7dc0]] | value |
| 2 | 4 | [[#b5ab7dc0]] | value |
| 2 | 5 | [[#b5ab7dc0]] | destination |
| 2 | 6 | [[#b5ab7dc0]] | initialize |
| 2 | 7 | [[#b5ab7dc0]] | insertion |
| 2 | 8 | [[#b5ab7dc0]] | value |
| 2 | 9 | [[#b5ab7dc0]] | value |
| 2 | 10 | [[#b5ab7dc0]] | value |
| 2 | 11 | [[#b5ab7dc0]] | visibility |
| 2 | 12 | [[#b5ab7dc0]] | visibility |
| 2 | 13 | [[#b5ab7dc0]] | visibility |
| 2 | 14 | [[#b5ab7dc0]] | visibility |
| 2 | 15 | [[#b5ab7dc0]] | value |
| 2 | 16 | [[#b5ab7dc0]] | visibility |
| 2 | 17 | [[#b5ab7dc0]] | value |
| 2 | 18 | [[#b5ab7dc0]] | value |
| 3 | 1 | [[#b5ab7ae0]] | ATTRIBUTE_VISIBILITY |
| 3 | 2 | [[#b5ab7ae0]] | ATTRIBUTE_DELETE |
| 3 | 3 | [[#b5ab7ae0]] | ATTRIBUTE_MODE |
| 3 | 4 | [[#b5ab7ae0]] | ATTRIBUTE_ABSTRACT |
| 3 | 5 | [[#b5ab7ae0]] | ATTRIBUTE_DESTINATION |
| 3 | 6 | [[#b5ab7ae0]] | ATTRIBUTE_INITIALIZE |
| 3 | 7 | [[#b5ab7ae0]] | ATTRIBUTE_INSERTION |
| 3 | 8 | [[#b5ab7ae0]] | ATTRIBUTE_TYPES |
| 3 | 9 | [[#b5ab7ae0]] | ATTRIBUTE_EXTRACT |
| 3 | 10 | [[#b5ab7ae0]] | ATTRIBUTE_PULL |
| 3 | 11 | [[#b5ab7ae0]] | ATTRIBUTE_VISIBILITY |
| 3 | 12 | [[#b5ab7ae0]] | ATTRIBUTE_VISIBILITY |
| 3 | 13 | [[#b5ab7ae0]] | ATTRIBUTE_VISIBILITY |
| 3 | 14 | [[#b5ab7ae0]] | ATTRIBUTE_VISIBILITY |
| 3 | 15 | [[#b5ab7ae0]] | ATTRIBUTE_MODE |
| 3 | 16 | [[#b5ab7ae0]] | ATTRIBUTE_VISIBILITY |
| 3 | 17 | [[#b5ab7ae0]] | ATTRIBUTE_DELETE |
| 3 | 18 | [[#b5ab7ae0]] | ATTRIBUTE_ABSTRACT |