Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.974 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 173 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java |
2 | 5 | 502 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java |
| ||||
for (int index = 0; index < expressions.size(); index++) { expression = (Expression) expressions.get(index); descendant = (ConstraintVariable2) expression.getProperty(PROPERTY_CONSTRAINT_VARIABLE); if (descendant != null) fModel.createSubtypeConstraint(descendant, ancestor); } |
| ||||
for (int index = 0; index < exceptions.size(); index++) { exception = (Name) exceptions.get(index); descendant = (ConstraintVariable2) exception.getProperty(PROPERTY_CONSTRAINT_VARIABLE); if (descendant != null) fModel.createSubtypeConstraint(descendant, ancestor); } |
| |||
for (int index = 0; index < [[#variable640cdd00]].size(); index++) { [[#variable640cdca0]]= ( [[#variable640cdc40]]) [[#variable640cdd00]].get(index); descendant = (ConstraintVariable2) [[#variable640cdca0]].getProperty(PROPERTY_CONSTRAINT_VARIABLE); if (descendant != null) fModel.createSubtypeConstraint(descendant, ancestor); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#640cdd00]] | exceptions |
1 | 2 | [[#640cdd00]] | expressions |
2 | 1 | [[#640cdca0]] | exception |
2 | 2 | [[#640cdca0]] | expression |
3 | 1 | [[#640cdc40]] | Name |
3 | 2 | [[#640cdc40]] | Expression |