Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 3 | 0.961 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 56 | E:/TSE/Projects-CloneDR/sql12/test/mockobjects/net/sourceforge/squirrel_sql/mo/sql/MockResultSetMetaData.java |
2 | 8 | 76 | E:/TSE/Projects-CloneDR/sql12/test/mockobjects/net/sourceforge/squirrel_sql/mo/sql/MockResultSetMetaData.java |
3 | 8 | 86 | E:/TSE/Projects-CloneDR/sql12/test/mockobjects/net/sourceforge/squirrel_sql/mo/sql/MockResultSetMetaData.java |
| |||||
public int getColumnType(int arg0) throws SQLException { // Need to adjust param which is 1-based(JDBC) to a 0-based number for // array access int idx = arg0 - 1; if (_infos == null || _infos.length <= 0 || idx >= _infos.length) { return 0; } return _infos[idx].getDataType(); } |
| |||||
public int getPrecision(int arg0) throws SQLException { // Need to adjust param which is 1-based(JDBC) to a 0-based number for // array access int idx = arg0 - 1; if (_infos == null || _infos.length <= 0 || idx >= _infos.length) { return 0; } return _infos[arg0].getColumnSize(); } |
| |||||
public int getScale(int arg0) throws SQLException { // Need to adjust param which is 1-based(JDBC) to a 0-based number for // array access int idx = arg0 - 1; if (_infos == null || _infos.length <= 0 || idx >= _infos.length) { return 0; } return _infos[arg0].getDecimalDigits(); } |
| |||
public int [[#variable1cc1e880]](int arg0) throws SQLException { // Need to adjust param which is 1-based(JDBC) to a 0-based number for // array access int idx = arg0 - 1; if (_infos == null || _infos.length <= 0 || idx >= _infos.length) { return 0; } return _infos[ [[#variable1cc1e800]]]. [[#variable1cc1e8c0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cc1e880]] | getColumnType |
1 | 2 | [[#1cc1e880]] | getPrecision |
1 | 3 | [[#1cc1e880]] | getScale |
2 | 1 | [[#1cc1e800]] | idx |
2 | 2 | [[#1cc1e800]] | arg0 |
2 | 3 | [[#1cc1e800]] | arg0 |
3 | 1 | [[#1cc1e8c0]] | getDataType |
3 | 2 | [[#1cc1e8c0]] | getColumnSize |
3 | 3 | [[#1cc1e8c0]] | getDecimalDigits |