Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.976 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 391 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java |
2 | 5 | 400 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java |
| ||||
for (int i = fAnchor; i < length; i++) { entry = (Entry) fList.get(i); if (entry.fPosition.equals(position)) { fAnchor = i; return entry.fValue; } } |
| ||||
// before anchor for (int i = 0; i < fAnchor; i++) { entry = (Entry) fList.get(i); if (entry.fPosition.equals(position)) { fAnchor = i; return entry.fValue; } } |
| |||
// before anchor for (int i = [[#variable5d3d09e0]]; i < [[#variable7301e120]]; i++) { entry = (Entry) fList.get(i); if (entry.fPosition.equals(position)) { fAnchor = i; return entry.fValue; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5d3d09e0]] | fAnchor |
1 | 2 | [[#5d3d09e0]] | 0 |
2 | 1 | [[#7301e120]] | length |
2 | 2 | [[#7301e120]] | fAnchor |