Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 2 | 0.959 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 468 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/util/XMLTypeValidator.java |
2 | 6 | 699 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/util/XMLTypeValidator.java |
3 | 6 | 997 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/util/XMLTypeValidator.java |
| |||||
{ int length = entities.size(); boolean result = length >= 1; if ( !result && diagnostics != null) reportMinLengthViolation(XMLTypePackage.Literals.ENTITIES, entities, length, 1, diagnostics, context); return result; } |
| |||||
{ int length = idrefs.size(); boolean result = length >= 1; if ( !result && diagnostics != null) reportMinLengthViolation(XMLTypePackage.Literals.IDREFS, idrefs, length, 1, diagnostics, context); return result; } |
| |||||
{ int length = nmtokens.size(); boolean result = length >= 1; if ( !result && diagnostics != null) reportMinLengthViolation(XMLTypePackage.Literals.NMTOKENS, nmtokens, length, 1, diagnostics, context); return result; } |
| |||
{ int length = [[#variable17314fe0]].size(); boolean result = length >= 1; if ( !result && diagnostics != null) reportMinLengthViolation(XMLTypePackage.Literals. [[#variable17315f80]], [[#variable17314fe0]], length, 1, diagnostics, context); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17314fe0]] | entities |
1 | 2 | [[#17314fe0]] | idrefs |
1 | 3 | [[#17314fe0]] | nmtokens |
2 | 1 | [[#17315f80]] | ENTITIES |
2 | 2 | [[#17315f80]] | IDREFS |
2 | 3 | [[#17315f80]] | NMTOKENS |