CloneSet410


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7320.982method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17152
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/dbcopy/ColTypeMapperTest.java
27161
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/dbcopy/ColTypeMapperTest.java
37170
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/dbcopy/ColTypeMapperTest.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
152
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/dbcopy/ColTypeMapperTest.java

private void testBinaryColType(String fromDb, String toDb) throws Exception {
  ISQLDatabaseMetaData md = TestUtil.getEasyMockSQLMetaData(fromDb, null);
  TableColumnInfo column = TestUtil.getBinaryColumnInfo(md, true);
  // This is for brute force detection of columns whose column size is 0
  ResultSet rs = getColLengthResult();
  testColType(md, toDb, column, rs);
}


Next
Previous
Clone Instance
2
Line Count
7
Source Line
161
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/dbcopy/ColTypeMapperTest.java

private void testBlobColType(String fromDb, String toDb) throws Exception {
  ISQLDatabaseMetaData md = TestUtil.getEasyMockSQLMetaData(fromDb, null);
  TableColumnInfo column = TestUtil.getBlobColumnInfo(md, true);
  //This is for brute force detection of BLOB/CLOB lengths if necessary
  ResultSet rs = getColLengthResult();
  testColType(md, toDb, column, rs);
}


First
Previous
Clone Instance
3
Line Count
7
Source Line
170
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/dbcopy/ColTypeMapperTest.java

private void testClobColType(String fromDb, String toDb) throws Exception {
  ISQLDatabaseMetaData md = TestUtil.getEasyMockSQLMetaData(fromDb, null);
  TableColumnInfo column = TestUtil.getClobColumnInfo(md, true);
  // This is for brute force detection of BLOB/CLOB lengths if necessary
  ResultSet rs = getColLengthResult();
  testColType(md, toDb, column, rs);
}


Clone AbstractionParameter Count: 2Parameter Bindings

private void [[#variable1aff4a00]](String fromDb, String toDb) throws Exception {
  ISQLDatabaseMetaData md = TestUtil.getEasyMockSQLMetaData(fromDb, null);
  TableColumnInfo column = TestUtil. [[#variable1aff45e0]](md, true);
  // This is for brute force detection of BLOB/CLOB lengths if necessary
  //This is for brute force detection of BLOB/CLOB lengths if necessary
  // This is for brute force detection of columns whose column size is 0
  ResultSet rs = getColLengthResult();
  testColType(md, toDb, column, rs);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1aff4a00]]
testBinaryColType 
12[[#1aff4a00]]
testBlobColType 
13[[#1aff4a00]]
testClobColType 
21[[#1aff45e0]]
getBinaryColumnInfo 
22[[#1aff45e0]]
getBlobColumnInfo 
23[[#1aff45e0]]
getClobColumnInfo