CloneSet154


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.978block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112292
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/cvslib/CvsTagDiff.java
211318
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/cvslib/CvsTagDiff.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
292
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/cvslib/CvsTagDiff.java

{
  // it is a new file
  // set the revision but not the prevrevision
  String filename = line.substring(0, index);
  String rev = null;
  int indexrev = -1;
  if ((indexrev = line.indexOf(REVISION, index)) != -1) {
    rev = line.substring(indexrev + REVISION.length());
  }
  entry = new CvsTagEntry(filename, rev);
  entries.addElement(entry);
  log(entry.toString(), Project.MSG_VERBOSE);
}


First
Previous
Clone Instance
2
Line Count
11
Source Line
318
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/cvslib/CvsTagDiff.java

{
  // it is a removed file
  String filename = line.substring(0, index);
  String rev = null;
  int indexrev = -1;
  if ((indexrev = line.indexOf(REVISION, index)) != -1) {
    rev = line.substring(indexrev + REVISION.length());
  }
  entry = new CvsTagEntry(filename, null, rev);
  entries.addElement(entry);
  log(entry.toString(), Project.MSG_VERBOSE);
}


Clone AbstractionParameter Count: 1Parameter Bindings

{
  // it is a new file
  // set the revision but not the prevrevision
  // it is a removed file
  String filename = line.substring(0, index);
  String rev = null;
  int indexrev = -1;
  if ((indexrev = line.indexOf(REVISION, index)) != -1) {
    rev = line.substring(indexrev + REVISION.length());
  }
  entry = new CvsTagEntry( [[#variablefe143c0]], rev);
  entries.addElement(entry);
  log(entry.toString(), Project.MSG_VERBOSE);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#fe143c0]]
filename 
12[[#fe143c0]]
filename, null