Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.971 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 99 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/BZip2Test.java |
2 | 10 | 60 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/GzipTest.java |
| |||||
public void testResource() { executeTarget("realTestWithResource"); } public void testDateCheck() { executeTarget("testDateCheck"); String log = getLog(); assertTrue("Expecting message ending with \'asf-logo.gif.bz2 is up to date.\' but got \'" + log + "\'", log.endsWith("asf-logo.gif.bz2 is up to date.")); } |
| |||||
public void testResource() { executeTarget("realTestWithResource"); } public void testDateCheck() { executeTarget("testDateCheck"); String log = getLog(); assertTrue("Expecting message ending with \'asf-logo.gif.gz is up to date.\' but got \'" + log + "\'", log.endsWith("asf-logo.gif.gz is up to date.")); } |
| |||
public void testResource() { executeTarget("realTestWithResource"); } public void testDateCheck() { executeTarget("testDateCheck"); String log = getLog(); assertTrue( [[#variable1314cd80]] + log + "\'", log.endsWith( [[#variable1314cd40]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1314cd80]] | "Expecting message ending with \'asf-logo.gif.bz2 is up to date.\' but got \'" |
1 | 2 | [[#1314cd80]] | "Expecting message ending with \'asf-logo.gif.gz is up to date.\' but got \'" |
2 | 1 | [[#1314cd40]] | "asf-logo.gif.bz2 is up to date." |
2 | 2 | [[#1314cd40]] | "asf-logo.gif.gz is up to date." |