Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.979 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 229 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/io/FileVFS.java |
2 | 10 | 311 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/io/FileVFS.java |
| |||||
// do some platforms throw exceptions if the file does not exist // when we ask for the canonical path? String canonPath; try { canonPath = file.getCanonicalPath(); } catch (IOException io) { canonPath = path; } |
| |||||
String canonPath; try { canonPath = file.getCanonicalPath(); } catch (IOException io) { canonPath = directory; } |
| |||
// do some platforms throw exceptions if the file does not exist // when we ask for the canonical path? String canonPath; try { canonPath = file.getCanonicalPath(); } catch (IOException io) { canonPath = [[#variablec2872a0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c2872a0]] | path |
1 | 2 | [[#c2872a0]] | directory |