File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerCreateDatabaseFrame.java | File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerRoleFrame.java | |||
Method name: void initLayout()
|
Method name: void initLayout()
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | this.getContentPane().setLayout(new BorderLayout());↵ | 1 | this.getContentPane().setLayout(new BorderLayout());↵ | |
2 | this.getContentPane().add(createPanelCreateDB());↵ | 2 | this.getContentPane().add(createPanel());↵ | |
3 | ↵ | |||
4 | initVisualObjects();↵ | 3 | initVisualObjects();↵ | |
5 | readPreferences(); | 4 | readRoles(); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
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 | 16 |
Number of mapped statements | 4 |
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 | this.getContentPane().setLayout(new BorderLayout()); | 1 | this.getContentPane().setLayout(new BorderLayout()); | |||||||||||||||
2 | this.getContentPane().add(createPanelCreateDB()); |
| 2 | this.getContentPane().add(createPanel()); | ||||||||||||||
3 | initVisualObjects(); | 3 | initVisualObjects(); | |||||||||||||||
4 | readPreferences(); |
| 4 | readRoles(); |
Row | Violation |
---|---|
1 | Expression readPreferences() cannot be parameterized, because it has dependencies to/from statements that will be extracted |
2 | Expression readRoles() cannot be parameterized, because it has dependencies to/from statements that will be extracted |
3 | Expression readPreferences() is a void method call, and thus it cannot be parameterized |
4 | Expression readRoles() is a void method call, and thus it cannot be parameterized |