CloneSet181


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.952executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111452
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/PatternSet.java
211470
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/PatternSet.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
452
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/PatternSet.java

while (e.hasMoreElements()) {
  NameEntry ne = (NameEntry) e.nextElement();
  String fileName = ne.evalName(p);
  if (fileName != null) {
    File inclFile = p.resolveFile(fileName);
    if ( !inclFile.exists()) {
      throw new BuildException("Includesfile " + inclFile.getAbsolutePath() + " not found.");
    }
    readPatterns(inclFile, includeList, p);
  }
}


First
Previous
Clone Instance
2
Line Count
11
Source Line
470
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/PatternSet.java

while (e.hasMoreElements()) {
  NameEntry ne = (NameEntry) e.nextElement();
  String fileName = ne.evalName(p);
  if (fileName != null) {
    File exclFile = p.resolveFile(fileName);
    if ( !exclFile.exists()) {
      throw new BuildException("Excludesfile " + exclFile.getAbsolutePath() + " not found.");
    }
    readPatterns(exclFile, excludeList, p);
  }
}


Clone AbstractionParameter Count: 3Parameter Bindings

while (e.hasMoreElements()) {
  NameEntry ne = (NameEntry) e.nextElement();
  String fileName = ne.evalName(p);
  if (fileName != null) {
    File  [[#variablefe2f2a0]]= p.resolveFile(fileName);
    if ( ! [[#variablefe2f2a0]].exists()) {
      throw new BuildException( [[#variablefe2f060]] +  [[#variablefe2f2a0]].getAbsolutePath() + " not found.");
    }
    readPatterns( [[#variablefe2f2a0]],  [[#variablefe2efc0]], p);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#fe2f2a0]]
inclFile 
12[[#fe2f2a0]]
exclFile 
21[[#fe2f060]]
"Includesfile " 
22[[#fe2f060]]
"Excludesfile " 
31[[#fe2efc0]]
includeList 
32[[#fe2efc0]]
excludeList