Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.956 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 77 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ccm/Continuus.java |
2 | 9 | 67 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/clearcase/ClearCase.java |
| |||||
/** * Builds and returns the command string to execute ccm * @return String containing path to the executable */ protected final String getCcmCommand() { String toReturn = ccmDir; if ( !toReturn.equals("") && !toReturn.endsWith("/")) { toReturn += "/"; } toReturn += CCM_EXE; return toReturn; } |
| |||||
/** * Builds and returns the command string to execute cleartool * * @return String containing path to the executable */ protected final String getClearToolCommand() { String toReturn = mClearToolDir; if ( !toReturn.equals("") && !toReturn.endsWith("/")) { toReturn += "/"; } toReturn += CLEARTOOL_EXE; return toReturn; } |
| |||
/** * Builds and returns the command string to execute ccm * @return String containing path to the executable */ /** * Builds and returns the command string to execute cleartool * * @return String containing path to the executable */ protected final String [[#variable13157160]]() { String toReturn = [[#variable131570e0]]; if ( !toReturn.equals("") && !toReturn.endsWith("/")) { toReturn += "/"; } toReturn += [[#variable13157040]]; return toReturn; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13157160]] | getCcmCommand |
1 | 2 | [[#13157160]] | getClearToolCommand |
2 | 1 | [[#131570e0]] | ccmDir |
2 | 2 | [[#131570e0]] | mClearToolDir |
3 | 1 | [[#13157040]] | CCM_EXE |
3 | 2 | [[#13157040]] | CLEARTOOL_EXE |