Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 3 | 0.964 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1449 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java |
2 | 4 | 309 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/logicalstructures/JavaLogicalStructure.java |
3 | 3 | 380 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java |
| ||||
for (int i = 0; i < entries.length; i++) { if (entries[i].getPath().equals(path)) { return entries[i]; } } |
| ||||
for (int i = 0; i < superInterfaces.length; i++) { if (superInterfaces[i].getName().equals(fType)) { // found the type, it's a super interface return superInterfaces[i]; } } |
| ||||
for (int i = 0; i < vmTypes.length; i++) { if (vmTypes[i].getId().equals(id)) { return vmTypes[i]; } } |
| |||
for (int i = 0; i < [[#variable52f3cdc0]].length; i++) { if ( [[#variable52f3cdc0]][i]. [[#variable52f3cd40]]().equals( [[#variable52f3cc80]])) { // found the type, it's a super interface return [[#variable52f3cdc0]][i]; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52f3cdc0]] | vmTypes |
1 | 2 | [[#52f3cdc0]] | entries |
1 | 3 | [[#52f3cdc0]] | superInterfaces |
2 | 1 | [[#52f3cd40]] | getId |
2 | 2 | [[#52f3cd40]] | getPath |
2 | 3 | [[#52f3cd40]] | getName |
3 | 1 | [[#52f3cc80]] | id |
3 | 2 | [[#52f3cc80]] | path |
3 | 3 | [[#52f3cc80]] | fType |