Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.952 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 834 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java |
2 | 8 | 842 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java |
| |||||
public void testGetWithSelectorRetryable1() { getProject().addTaskDefinition("ftp", oneFailureFTP.class ); try { getProject().executeTarget("ftp-get-with-selector-retryable"); } catch (BuildException bx) { fail("Two retries expected, failed after one."); } } |
| |||||
public void testGetWithSelectorRetryable2() { getProject().addTaskDefinition("ftp", twoFailureFTP.class ); try { getProject().executeTarget("ftp-get-with-selector-retryable"); } catch (BuildException bx) { fail("Two retries expected, failed after two."); } } |
| |||
public void [[#variable1301c5c0]]() { getProject().addTaskDefinition("ftp", [[#variable1301c500]].class ); try { getProject().executeTarget("ftp-get-with-selector-retryable"); } catch (BuildException bx) { fail( [[#variable1301c4e0]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1301c5c0]] | testGetWithSelectorRetryable1 |
1 | 2 | [[#1301c5c0]] | testGetWithSelectorRetryable2 |
2 | 1 | [[#1301c500]] | oneFailureFTP |
2 | 2 | [[#1301c500]] | twoFailureFTP |
3 | 1 | [[#1301c4e0]] | "Two retries expected, failed after one." |
3 | 2 | [[#1301c4e0]] | "Two retries expected, failed after two." |