CloneSet415


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14969
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
24518
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
Next
Last
Clone Instance
1
Line Count
4
Source Line
969
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java

/**
 * test for a file being managed or not
 * @param file the file to test.
 * @return true if we think this is a managed executable, and thus OK
 * for linking
 * @todo look at the PE header of the exe and see if it is managed or not.
 */
protected static boolean isFileManagedBinary(File file) {
  String filename = file.toString().toLowerCase();
  return filename.endsWith(".exe") || filename.endsWith(".dll") || filename.endsWith(".netmodule");
}


First
Previous
Clone Instance
2
Line Count
4
Source Line
518
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java

/**
 * test for a file being managed or not
 * @param file the file to test.
 * @return true if we think this is a managed executable, and thus OK
 * for linking
 * @todo look at the PE header of the exe and see if it is managed or not.
 */
protected static boolean isFileManagedBinary(File file) {
  String filename = file.toString().toLowerCase();
  return filename.endsWith(".exe") || filename.endsWith(".dll") || filename.endsWith(".netmodule");
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * test for a file being managed or not
     * @param file the file to test.
     * @return true if we think this is a managed executable, and thus OK
     * for linking
     * @todo look at the PE header of the exe and see if it is managed or not.
     */
protected static boolean isFileManagedBinary(File file) {
  String filename = file.toString().toLowerCase();
  return filename.endsWith(".exe") || filename.endsWith(".dll") || filename.endsWith(".netmodule");
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None