Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.968 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 46 | E:/TSE/Projects-CloneDR/sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/tab/TableStatusTab.java |
2 | 12 | 46 | E:/TSE/Projects-CloneDR/sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/tab/UserGrantsTab.java |
| |||||
public TableStatusTab() { super(i18n.TITLE, i18n.HINT); } protected String getSQL() { final String db = getDatabaseObjectInfo().getQualifiedName(); return "show table status from " + db; } |
| |||||
public UserGrantsTab() { super(i18n.TITLE, i18n.HINT); } protected String getSQL() { final String db = getDatabaseObjectInfo().getQualifiedName(); //String newdb = fixQuotes(db); //System.out.println("show grants for "+newdb); //return "show grants for "+newdb; return "show grants for " + db; } |
| |||
public [[#variable1c8821e0]]() { super(i18n.TITLE, i18n.HINT); } protected String getSQL() { final String db = getDatabaseObjectInfo().getQualifiedName(); //String newdb = fixQuotes(db); //System.out.println("show grants for "+newdb); //return "show grants for "+newdb; return [[#variable1c882180]] + db; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c8821e0]] | TableStatusTab |
1 | 2 | [[#1c8821e0]] | UserGrantsTab |
2 | 1 | [[#1c882180]] | "show table status from " |
2 | 2 | [[#1c882180]] | "show grants for " |