Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.968 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 106 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/unix/AbstractAccessTask.java |
2 | 2 | 178 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java |
| |||||
/** * Automatically approve Unix OS's. * @return true if a valid OS, for unix this is always true, otherwise * use the superclasses' test (user set). */ protected boolean isValidOs() { return Os.isFamily("unix") && super.isValidOs(); } |
| |||||
/** * Check if the os is valid. * Always include windows * @return true if the os is valid. */ protected boolean isValidOs() { return Os.isFamily("windows") && super.isValidOs(); } |
| |||
/** * Automatically approve Unix OS's. * @return true if a valid OS, for unix this is always true, otherwise * use the superclasses' test (user set). */ /** * Check if the os is valid. * Always include windows * @return true if the os is valid. */ protected boolean isValidOs() { return Os.isFamily( [[#variable11298bc0]]) && super.isValidOs(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#11298bc0]] | "unix" |
1 | 2 | [[#11298bc0]] | "windows" |