Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.975 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 67 | E:/TSE/Projects-CloneDR/sql12/test/adhoc/test/H2IdentifierQuoteTest.java |
2 | 6 | 100 | E:/TSE/Projects-CloneDR/sql12/test/adhoc/test/IngresMoneyTest.java |
| |||||
/** * @param args */ public static void main(String[] args) throws Exception { Class.forName("org.h2.Driver"); String jdbcUrl = "jdbc:h2:tcp://localhost:9094/DBCOPYDEST"; Connection con = DriverManager.getConnection(jdbcUrl, "dbcopy", "password"); test(con); } |
| |||||
/** * @param args */ public static void main(String[] args) throws Exception { Class.forName("com.ingres.jdbc.IngresDriver"); String jdbcUrl = "jdbc:ingres://192.168.1.132:ii7/dbcopydest"; Connection con = DriverManager.getConnection(jdbcUrl, "dbcopy", "password"); test(con); } |
| |||
/** * @param args */ /** * @param args */ public static void main(String[] args) throws Exception { Class.forName( [[#variable1cd55ca0]]); String jdbcUrl = [[#variable1cd55c00]]; Connection con = DriverManager.getConnection(jdbcUrl, "dbcopy", "password"); test(con); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cd55ca0]] | "org.h2.Driver" |
1 | 2 | [[#1cd55ca0]] | "com.ingres.jdbc.IngresDriver" |
2 | 1 | [[#1cd55c00]] | "jdbc:h2:tcp://localhost:9094/DBCOPYDEST" |
2 | 2 | [[#1cd55c00]] | "jdbc:ingres://192.168.1.132:ii7/dbcopydest" |