Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 3 | 3 | 0.951 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 528 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/rose/parser/RoseNode.java |
2 | 11 | 544 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/rose/parser/RoseNode.java |
3 | 11 | 567 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/rose/parser/RoseNode.java |
| |||||
{ String attributeValue = getAttributeValue("Ecore", "xmlFeatureKind"); if (attributeValue != null) { Matcher matcher = FEATURE_VALUE_PATTERN.matcher(attributeValue); if (matcher.matches()) { return Integer.parseInt(matcher.group(1)); } } return 0; } |
| |||||
{ String attributeValue = getAttributeValue("Ecore", "xmlContentKind"); if (attributeValue != null) { Matcher matcher = CONTENT_VALUE_PATTERN.matcher(attributeValue); if (matcher.matches()) { return Integer.parseInt(matcher.group(1)); } } return 0; } |
| |||||
{ String attributeValue = getAttributeValue("Ecore", "visibility"); if (attributeValue != null) { Matcher matcher = VISIBILITY_VALUE_PATTERN.matcher(attributeValue); if (matcher.matches()) { return Integer.parseInt(matcher.group(1)); } } return VISIBILITY_UNSPECIFIED; } |
| |||
{ String attributeValue = getAttributeValue("Ecore", [[#variable172d5680]]); if (attributeValue != null) { Matcher matcher = [[#variable172d5600]].matcher(attributeValue); if (matcher.matches()) { return Integer.parseInt(matcher.group(1)); } } return [[#variable172d5560]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#172d5680]] | "xmlFeatureKind" |
1 | 2 | [[#172d5680]] | "xmlContentKind" |
1 | 3 | [[#172d5680]] | "visibility" |
2 | 1 | [[#172d5600]] | FEATURE_VALUE_PATTERN |
2 | 2 | [[#172d5600]] | CONTENT_VALUE_PATTERN |
2 | 3 | [[#172d5600]] | VISIBILITY_VALUE_PATTERN |
3 | 1 | [[#172d5560]] | 0 |
3 | 2 | [[#172d5560]] | 0 |
3 | 3 | [[#172d5560]] | VISIBILITY_UNSPECIFIED |