Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.955 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 99 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java |
2 | 6 | 150 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.java |
| |||||
/** * Assert that the given substring is in the log messages. */ public void assertLogContaining(String substring) { String realLog = getLog(); assertTrue("expecting log to contain \"" + substring + "\" log was \"" + realLog + "\"", realLog.indexOf(substring) >= 0); } |
| |||||
/** * Assert that the given substring is in the log messages. */ public void assertDebuglogContaining(String substring) { String realLog = getFullLog(); assertTrue("expecting debug log to contain \"" + substring + "\" log was \"" + realLog + "\"", realLog.indexOf(substring) >= 0); } |
| |||
/** * Assert that the given substring is in the log messages. */ public void [[#variable13003320]](String substring) { String realLog = [[#variable13003280]](); assertTrue( [[#variable13003220]] + substring + "\" log was \"" + realLog + "\"", realLog.indexOf(substring) >= 0); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13003320]] | assertLogContaining |
1 | 2 | [[#13003320]] | assertDebuglogContaining |
2 | 1 | [[#13003280]] | getLog |
2 | 2 | [[#13003280]] | getFullLog |
3 | 1 | [[#13003220]] | "expecting log to contain \"" |
3 | 2 | [[#13003220]] | "expecting debug log to contain \"" |