Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 1 | 0.983 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 514 | E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/fw/util/FileTest.java |
2 | 8 | 521 | E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/fw/util/FileTest.java |
3 | 8 | 528 | E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/fw/util/FileTest.java |
| |||||
// Tests for creating a tempfile with a filename shorter than 3 // characters. try { FileWrapper f3 = new FileWrapperImpl(File.createTempFile("ab", ".tst")); f3.delete(); fail("IllegalArgumentException Not Thrown."); } catch (IllegalArgumentException e) { // Expected } |
| |||||
try { FileWrapper f3 = new FileWrapperImpl(File.createTempFile("a", ".tst")); f3.delete(); fail("IllegalArgumentException Not Thrown."); } catch (IllegalArgumentException e) { // Expected } |
| |||||
try { FileWrapper f3 = new FileWrapperImpl(File.createTempFile("", ".tst")); f3.delete(); fail("IllegalArgumentException Not Thrown."); } catch (IllegalArgumentException e) { // Expected } |
| |||
// Tests for creating a tempfile with a filename shorter than 3 // characters. try { FileWrapper f3 = new FileWrapperImpl(File.createTempFile( [[#variable1ccfbe80]], ".tst")); f3.delete(); fail("IllegalArgumentException Not Thrown."); } catch (IllegalArgumentException e) { // Expected } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1ccfbe80]] | "ab" |
1 | 2 | [[#1ccfbe80]] | "a" |
1 | 3 | [[#1ccfbe80]] | "" |