CloneSet434


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11330.951block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111528
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/rose/parser/RoseNode.java
211544
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/rose/parser/RoseNode.java
311567
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/rose/parser/RoseNode.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
528
Source File
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;
}


Next
Previous
Clone Instance
2
Line Count
11
Source Line
544
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/rose/parser/RoseNode.java

{
  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;
}


First
Previous
Clone Instance
3
Line Count
11
Source Line
567
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/rose/parser/RoseNode.java

{
  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;
}


Clone AbstractionParameter Count: 3Parameter Bindings

{
  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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#172d5680]]
"xmlFeatureKind" 
12[[#172d5680]]
"xmlContentKind" 
13[[#172d5680]]
"visibility" 
21[[#172d5600]]
FEATURE_VALUE_PATTERN 
22[[#172d5600]]
CONTENT_VALUE_PATTERN 
23[[#172d5600]]
VISIBILITY_VALUE_PATTERN 
31[[#172d5560]]
0 
32[[#172d5560]]
0 
33[[#172d5560]]
VISIBILITY_UNSPECIFIED