CloneSet551


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15220.961executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115509
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/command/CompoundCommand.java
215539
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/command/CompoundCommand.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
509
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/command/CompoundCommand.java

if (commandList.isEmpty()) {
  return CommonPlugin.INSTANCE.getString("_UI_CompoundCommand_label");
}
else
  if (resultIndex == LAST_COMMAND_ALL || resultIndex == MERGE_COMMAND_ALL) {
    return commandList.get(commandList.size() - 1).getLabel();
  }
  else
    if (resultIndex < commandList.size()) {
      return commandList.get(resultIndex).getLabel();
    }
    else {
      return CommonPlugin.INSTANCE.getString("_UI_CompoundCommand_label");
    }


First
Previous
Clone Instance
2
Line Count
15
Source Line
539
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/command/CompoundCommand.java

if (commandList.isEmpty()) {
  return CommonPlugin.INSTANCE.getString("_UI_CompoundCommand_description");
}
else
  if (resultIndex == LAST_COMMAND_ALL || resultIndex == MERGE_COMMAND_ALL) {
    return commandList.get(commandList.size() - 1).getDescription();
  }
  else
    if (resultIndex < commandList.size()) {
      return commandList.get(resultIndex).getDescription();
    }
    else {
      return CommonPlugin.INSTANCE.getString("_UI_CompoundCommand_description");
    }


Clone AbstractionParameter Count: 2Parameter Bindings

if (commandList.isEmpty()) {
  return CommonPlugin.INSTANCE.getString( [[#variable1733d640]]);
}
else
  if (resultIndex == LAST_COMMAND_ALL || resultIndex == MERGE_COMMAND_ALL) {
    return commandList.get(commandList.size() - 1). [[#variable1733d5c0]]();
  }
  else
    if (resultIndex < commandList.size()) {
      return commandList.get(resultIndex). [[#variable1733d5c0]]();
    }
    else {
      return CommonPlugin.INSTANCE.getString( [[#variable1733d640]]);
    }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1733d640]]
"_UI_CompoundCommand_label" 
12[[#1733d640]]
"_UI_CompoundCommand_description" 
21[[#1733d5c0]]
getLabel 
22[[#1733d5c0]]
getDescription