Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 2 | 0.973 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 231 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/index/DiskIndex.java |
2 | 3 | 276 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/index/DiskIndex.java |
3 | 3 | 70 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/index/EntryResult.java |
4 | 3 | 165 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/index/Index.java |
| ||||
for (int i = 0, l = added.length; i < l; i++) if (added[i] != null) newDocNames[count++ ] = (String) added[i]; |
| ||||
for (int i = 0, l = added.length; i < l; i++) if (added[i] != null) newDocNames[count++ ] = (String) added[i]; // add each new document |
| ||||
for (int i = 0, l = values.length; i < l; i++) if (values[i] != null) names[count++ ] = (String) values[i]; |
| ||||
for (int i = 0, l = paths.length; i < l; i++) if (paths[i] != null) documentNames[count++ ] = (String) paths[i]; |
| |||
for (int i = 0, l = [[#variablea4e6bd00]].length; i < l; i++) if ( [[#variablea4e6bd00]][i] != null) [[#variablea4e6bc80]][count++ ] = (String) [[#variablea4e6bd00]][i]; // add each new document |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4e6bd00]] | added |
1 | 2 | [[#a4e6bd00]] | paths |
1 | 3 | [[#a4e6bd00]] | values |
1 | 4 | [[#a4e6bd00]] | added |
2 | 1 | [[#a4e6bc80]] | newDocNames |
2 | 2 | [[#a4e6bc80]] | documentNames |
2 | 3 | [[#a4e6bc80]] | names |
2 | 4 | [[#a4e6bc80]] | newDocNames |