CloneSet361


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.964method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16788
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java
27803
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
788
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java

/**
 * Equality method for this definition
 *
 * @param other another definition
 * @param project the current project
 * @return true if the definitions are the same
 */
public boolean sameDefinition(AntTypeDefinition other, Project project) {
  if ( !super.sameDefinition(other, project)) {
    return false;
  }
  MyAntTypeDefinition otherDef = (MyAntTypeDefinition) other;
  return macroDef.sameDefinition(otherDef.macroDef);
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
803
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java

/**
 * Similar method for this definition
 *
 * @param other another definition
 * @param project the current project
 * @return true if the definitions are the same
 */
public boolean similarDefinition(AntTypeDefinition other, Project project) {
  if ( !super.similarDefinition(other, project)) {
    return false;
  }
  MyAntTypeDefinition otherDef = (MyAntTypeDefinition) other;
  return macroDef.similar(otherDef.macroDef);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Similar method for this definition
         *
         * @param other another definition
         * @param project the current project
         * @return true if the definitions are the same
         */
/**
         * Equality method for this definition
         *
         * @param other another definition
         * @param project the current project
         * @return true if the definitions are the same
         */
public boolean  [[#variable100f89c0]](AntTypeDefinition other, Project project) {
  if ( !super. [[#variable100f89c0]](other, project)) {
    return false;
  }
  MyAntTypeDefinition otherDef = (MyAntTypeDefinition) other;
  return macroDef. [[#variable100f89e0]](otherDef.macroDef);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#100f89c0]]
sameDefinition 
12[[#100f89c0]]
similarDefinition 
21[[#100f89e0]]
sameDefinition 
22[[#100f89e0]]
similar