Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 2 | 0.959 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 126 | E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/gui/VacuumTableDialog.java |
2 | 6 | 207 | E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/DefaultDropDialog.java |
3 | 6 | 134 | E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/DropTableDialog.java |
| |||||
private String[] getSimpleNames(ITableInfo[] infos) { String[] result = new String[infos.length]; for (int i = 0; i < result.length; i++) { result[i] = infos[i].getSimpleName(); } return result; } |
| |||||
/** * Gets the simple view names of the selected DatabaseObjectInfos. * * @param dbInfo InfoObjects of the selected items in the tree. * @return the simple names of the database item. */ private String[] getSimpleNames(IDatabaseObjectInfo[] dbInfo) { String[] result = new String[dbInfo.length]; for (int i = 0; i < result.length; i++) { result[i] = dbInfo[i].getSimpleName(); } return result; } |
| |||||
private String[] getSimpleNames(ITableInfo[] tableInfos) { String[] result = new String[tableInfos.length]; for (int i = 0; i < result.length; i++) { result[i] = tableInfos[i].getSimpleName(); } return result; } |
| |||
/** * Gets the simple view names of the selected DatabaseObjectInfos. * * @param dbInfo InfoObjects of the selected items in the tree. * @return the simple names of the database item. */ private String[] getSimpleNames( [[#variable1ce89f00]][] [[#variable1ce89de0]]) { String[] result = new String[ [[#variable1ce89de0]].length]; for (int i = 0; i < result.length; i++) { result[i] = [[#variable1ce89de0]][i].getSimpleName(); } return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1ce89f00]] | ITableInfo |
1 | 2 | [[#1ce89f00]] | IDatabaseObjectInfo |
1 | 3 | [[#1ce89f00]] | ITableInfo |
2 | 1 | [[#1ce89de0]] | infos |
2 | 2 | [[#1ce89de0]] | dbInfo |
2 | 3 | [[#1ce89de0]] | tableInfos |