Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 6 | 4 | 0.956 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 109 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java |
2 | 3 | 113 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java |
3 | 3 | 760 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java |
4 | 2 | 364 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java |
5 | 2 | 367 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java |
6 | 3 | 85 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java |
| ||||
for (int i = 0; i < fResources.length; i++) { if ( !RefactoringAvailabilityTester.isDeleteAvailable(fResources[i])) return false; } |
| ||||
for (int i = 0; i < fJavaElements.length; i++) { if ( !RefactoringAvailabilityTester.isDeleteAvailable(fJavaElements[i])) return false; } |
| ||||
for (int i = 0; i < topLevelTypes.length; i++) { if ( ! elementSet.contains(topLevelTypes[i])) return false; } |
| ||||
for (int i = 0; i < fResources.length; i++) { if ( ! ReorgUtils.isProject(fResources[i])) return true; } |
| ||||
for (int i = 0; i < fJavaElements.length; i++) { if ( ! ReorgUtils.isProject(fJavaElements[i])) return true; } |
| ||||
for (int i = 0; i < categories.length; i++) { if ( !fFilteredCategories.contains(categories[i])) return true; } |
| |||
for (int i = 0; i < [[#variableb82e2c40]].length; i++) { if ( ! [[#variableb82e2420]]. [[#variable94d5df40]]( [[#variableb82e2c40]][i])) return [[#variableb82e2bc0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b82e2c40]] | topLevelTypes |
1 | 2 | [[#b82e2c40]] | fJavaElements |
1 | 3 | [[#b82e2c40]] | fResources |
1 | 4 | [[#b82e2c40]] | categories |
1 | 5 | [[#b82e2c40]] | fJavaElements |
1 | 6 | [[#b82e2c40]] | fResources |
2 | 1 | [[#b82e2420]] | elementSet |
2 | 2 | [[#b82e2420]] | RefactoringAvailabilityTester |
2 | 3 | [[#b82e2420]] | RefactoringAvailabilityTester |
2 | 4 | [[#b82e2420]] | fFilteredCategories |
2 | 5 | [[#b82e2420]] | ReorgUtils |
2 | 6 | [[#b82e2420]] | ReorgUtils |
3 | 1 | [[#94d5df40]] | contains |
3 | 2 | [[#94d5df40]] | isDeleteAvailable |
3 | 3 | [[#94d5df40]] | isDeleteAvailable |
3 | 4 | [[#94d5df40]] | contains |
3 | 5 | [[#94d5df40]] | isProject |
3 | 6 | [[#94d5df40]] | isProject |
4 | 1 | [[#b82e2bc0]] | false |
4 | 2 | [[#b82e2bc0]] | false |
4 | 3 | [[#b82e2bc0]] | false |
4 | 4 | [[#b82e2bc0]] | true |
4 | 5 | [[#b82e2bc0]] | true |
4 | 6 | [[#b82e2bc0]] | true |