Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.967 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 90 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java |
2 | 4 | 141 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java |
| |||||
/** * Assert that only the given message has been logged with a * priority <= INFO when running the given target. */ public void expectLog(String target, String log) { executeTarget(target); String realLog = getLog(); assertEquals(log, realLog); } |
| |||||
/** * Assert that the given message has been logged with a priority * >= VERBOSE when running the given target. */ public void expectDebuglog(String target, String log) { executeTarget(target); String realLog = getFullLog(); assertEquals(log, realLog); } |
| |||
/** * Assert that the given message has been logged with a priority * >= VERBOSE when running the given target. */ /** * Assert that only the given message has been logged with a * priority <= INFO when running the given target. */ public void [[#variable1302ab40]](String target, String log) { executeTarget(target); String realLog = [[#variable1302aac0]](); assertEquals(log, realLog); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1302ab40]] | expectLog |
1 | 2 | [[#1302ab40]] | expectDebuglog |
2 | 1 | [[#1302aac0]] | getLog |
2 | 2 | [[#1302aac0]] | getFullLog |