Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.953 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 2088 | E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/fw/util/FileTest.java |
2 | 5 | 2131 | E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/fw/util/FileTest.java |
| |||||
// Need a directory that exists FileWrapper dir = new FileWrapperImpl(System.getProperty("user.dir")); // Test for toURI when the file is a directory. String newURIPath = dir.getAbsolutePath(); newURIPath = newURIPath.replace(File.separatorChar, '/'); |
| |||||
// Need a directory that exists FileWrapper dir = new FileWrapperImpl(System.getProperty("user.dir")); // Test for toURL when the file is a directory. String newDirURL = dir.getAbsolutePath(); newDirURL = newDirURL.replace(File.separatorChar, '/'); |
| |||
// Need a directory that exists FileWrapper dir = new FileWrapperImpl(System.getProperty("user.dir")); // Test for toURI when the file is a directory. // Test for toURL when the file is a directory. String [[#variable1c8507e0]]= dir.getAbsolutePath(); [[#variable1c8507e0]]= [[#variable1c8507e0]].replace(File.separatorChar, '/'); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c8507e0]] | newURIPath |
1 | 2 | [[#1c8507e0]] | newDirURL |