Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.955 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1897 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java |
2 | 7 | 424 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java |
| ||||
IClasspathEntry[] entries = new IClasspathEntry[list.size()]; for (int i = 0; i < list.size(); i++) { CPListElement element = (CPListElement) list.get(i); entries[i] = element.getClasspathEntry(); } return entries; |
| ||||
IClasspathEntry[] entries = new IClasspathEntry[elements.size()]; for (int i = 0; i < nElements; i++) { CPListElement currElement = (CPListElement) elements.get(i); entries[i] = currElement.getClasspathEntry(); } return entries; |
| |||
IClasspathEntry[] entries = new IClasspathEntry[ [[#variablea3f730a0]].size()]; for (int i = 0; i < [[#variablea5305380]]; i++) { CPListElement [[#variablea3f72fa0]]= (CPListElement) [[#variablea3f730a0]].get(i); entries[i] = [[#variablea3f72fa0]].getClasspathEntry(); } return entries; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a3f730a0]] | list |
1 | 2 | [[#a3f730a0]] | elements |
2 | 1 | [[#a5305380]] | list.size() |
2 | 2 | [[#a5305380]] | nElements |
3 | 1 | [[#a3f72fa0]] | element |
3 | 2 | [[#a3f72fa0]] | currElement |