File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerBackupRestoreFrame.java | File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerUserManagerFrame.java | |||
Method name: void FirebirdManagerBackupRestoreFrame(IApplication)
|
Method name: void FirebirdManagerUserManagerFrame(IApplication)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | super("Firebird manager - "↵ | 1 | super("Firebird manager - "↵ | |
2 | + stringManager.getString("backuprestoremanager.title"), true,↵ | 2 | + stringManager.getString("usermanager.title"), true,↵ | |
3 | true, true, true, application);↵ | 3 | true, true, true, application);↵ | |
4 | _application = application;↵ | 4 | _application = application;↵ | |
5 | initLayout();↵ | 5 | initLayout();↵ | |
6 | ↵ | 6 | ↵ | |
7 | this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);↵ | 7 | this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);↵ | |
8 | this.setVisible(true);↵ | 8 | this.setVisible(true);↵ | |
9 | this.moveToFront(); | 9 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 26 |
Number of mapped statements | 6 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super("Firebird manager - " + stringManager.getString("backuprestoremanager.title"), true, true, true, true, application); |
| 1 | super("Firebird manager - " + stringManager.getString("usermanager.title"), true, true, true, true, application); | ||||||||||||
2 | _application = application; | 2 | _application = application; | |||||||||||||
3 | initLayout(); | 3 | initLayout(); | |||||||||||||
4 | this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); | 4 | this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); | |||||||||||||
5 | this.setVisible(true); | 5 | this.setVisible(true); | |||||||||||||
6 | this.moveToFront(); | 6 | this.moveToFront(); |
Row | Violation |
---|---|
1 | Super constructor call super("Firebird manager - " + stringManager.getString("backuprestoremanager.title"),true,true,true,true,application); cannot be extracted from constructor |
2 | Super constructor call super("Firebird manager - " + stringManager.getString("usermanager.title"),true,true,true,true,application); cannot be extracted from constructor |