Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 7 | 3 | 0.963 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 90 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnit4TestFinder.java |
2 | 3 | 512 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java |
3 | 3 | 649 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
4 | 3 | 60 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReadOnlyResourceFinder.java |
5 | 3 | 122 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReadOnlyResourceFinder.java |
6 | 3 | 232 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java |
7 | 3 | 265 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteWizard.java |
| ||||
for (int i = 0; i < methods.length; i++) { if (annotates(methods[i])) return true; } |
| ||||
for (int i = 0; i < references.length; i++) { if (hasSideEffect(references[i])) return false; } |
| ||||
for (int i = 0; i < children.length; i++) { if (isReadOnly(children[i])) return true; } |
| ||||
for (int i = 0; i < javaElements.length; i++) { if (hasReadOnlyResourcesAndSubResources(javaElements[i])) return true; } |
| ||||
for (int i = 0; i < resources.length; i++) { if (hasReadOnlyResourcesAndSubResources(resources[i])) return true; } |
| ||||
for (int i = 0; i < fMembersToMove.length; i++) { if (isDelegateCreationAvailable(fMembersToMove[i])) return true; } |
| ||||
for (int i = 0; i < cus.length; i++) { if (isLinkedResource(cus[i])) return true; } |
| |||
for (int i = 0; i < [[#variable94e1e6e0]].length; i++) { if ( [[#variable94e1e820]]( [[#variable94e1e6e0]][i])) return [[#variable9b178180]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94e1e6e0]] | methods |
1 | 2 | [[#94e1e6e0]] | references |
1 | 3 | [[#94e1e6e0]] | children |
1 | 4 | [[#94e1e6e0]] | resources |
1 | 5 | [[#94e1e6e0]] | javaElements |
1 | 6 | [[#94e1e6e0]] | fMembersToMove |
1 | 7 | [[#94e1e6e0]] | cus |
2 | 1 | [[#94e1e820]] | annotates |
2 | 2 | [[#94e1e820]] | hasSideEffect |
2 | 3 | [[#94e1e820]] | isReadOnly |
2 | 4 | [[#94e1e820]] | hasReadOnlyResourcesAndSubResources |
2 | 5 | [[#94e1e820]] | hasReadOnlyResourcesAndSubResources |
2 | 6 | [[#94e1e820]] | isDelegateCreationAvailable |
2 | 7 | [[#94e1e820]] | isLinkedResource |
3 | 1 | [[#9b178180]] | true |
3 | 2 | [[#9b178180]] | false |
3 | 3 | [[#9b178180]] | true |
3 | 4 | [[#9b178180]] | true |
3 | 5 | [[#9b178180]] | true |
3 | 6 | [[#9b178180]] | true |
3 | 7 | [[#9b178180]] | true |