CloneSet249


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15310.983statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115413
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/impl/MappingRootImpl.java
215512
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/impl/MappingRootImpl.java
315533
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/impl/MappingRootImpl.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
413
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/impl/MappingRootImpl.java

for (Object input: mapping.getInputs()) {
  MappedObjectState mappedObjectState = getMappedObjectState(input);
  if (mappedObjectState != null) {
    mappedObjectState.getMappings().add(mapping);
  }
}
for (Object output: mapping.getOutputs()) {
  MappedObjectState mappedObjectState = getMappedObjectState(output);
  if (mappedObjectState != null) {
    mappedObjectState.getMappings().add(mapping);
  }
}


Next
Previous
Clone Instance
2
Line Count
15
Source Line
512
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/impl/MappingRootImpl.java

for (Object input: mapping.getInputs()) {
  MappedObjectState mappedObjectState = getMappedObjectState(input);
  if (mappedObjectState != null) {
    mappedObjectState.getMappings().add(mapping);
  }
}
for (Object output: mapping.getOutputs()) {
  MappedObjectState mappedObjectState = getMappedObjectState(output);
  if (mappedObjectState != null) {
    mappedObjectState.getMappings().add(mapping);
  }
}


First
Previous
Clone Instance
3
Line Count
15
Source Line
533
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/impl/MappingRootImpl.java

for (Object input: mapping.getInputs()) {
  MappedObjectState mappedObjectState = getMappedObjectState(input);
  if (mappedObjectState != null) {
    mappedObjectState.getMappings().remove(mapping);
  }
}
for (Object output: mapping.getOutputs()) {
  MappedObjectState mappedObjectState = getMappedObjectState(output);
  if (mappedObjectState != null) {
    mappedObjectState.getMappings().remove(mapping);
  }
}


Clone AbstractionParameter Count: 1Parameter Bindings

for (Object input: mapping.getInputs()) {
  MappedObjectState mappedObjectState = getMappedObjectState(input);
  if (mappedObjectState != null) {
    mappedObjectState.getMappings(). [[#variable171bd980]](mapping);
  }
}
for (Object output: mapping.getOutputs()) {
  MappedObjectState mappedObjectState = getMappedObjectState(output);
  if (mappedObjectState != null) {
    mappedObjectState.getMappings(). [[#variable171bd980]](mapping);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#171bd980]]
add 
12[[#171bd980]]
add 
13[[#171bd980]]
remove