Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.959 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 981 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/impl/EStoreEObjectImpl.java |
2 | 10 | 1011 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/impl/EStoreEObjectImpl.java |
| |||||
public int size(InternalEObject eObject, EStructuralFeature feature) { Entry entry = new Entry(eObject, feature); return getList(entry).size(); } public int indexOf(InternalEObject eObject, EStructuralFeature feature, Object value) { Entry entry = new Entry(eObject, feature); return getList(entry).indexOf(value); } |
| |||||
public boolean isEmpty(InternalEObject eObject, EStructuralFeature feature) { Entry entry = new Entry(eObject, feature); return getList(entry).isEmpty(); } public boolean contains(InternalEObject eObject, EStructuralFeature feature, Object value) { Entry entry = new Entry(eObject, feature); return getList(entry).contains(value); } |
| |||
public [[#variable17233c80]] [[#variable17233c00]](InternalEObject eObject, EStructuralFeature feature) { Entry entry = new Entry(eObject, feature); return getList(entry). [[#variable17233c00]](); } public [[#variable17233c80]] [[#variable17233b80]](InternalEObject eObject, EStructuralFeature feature, Object value) { Entry entry = new Entry(eObject, feature); return getList(entry). [[#variable17233b80]](value); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17233c80]] | int |
1 | 2 | [[#17233c80]] | boolean |
2 | 1 | [[#17233c00]] | size |
2 | 2 | [[#17233c00]] | isEmpty |
3 | 1 | [[#17233b80]] | indexOf |
3 | 2 | [[#17233b80]] | contains |