File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerUserManagerFrame.java | File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerUserManagerFrame.java | |||
Method name: boolean isInputOK()
|
Method name: boolean isInputOK()
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | bufError.append(i18n.ERROR_PASSWORD_MISSING + CR);↵ | 1 | bufError.append(i18n.ERROR_PASSWORD_DIFFERENCES + CR);↵ | |
2 | if (!focusSet) {↵ | 2 | if (!focusSet) {↵ | |
3 | jpasswordField1.requestFocusInWindow();↵ | 3 | jpasswordField1.requestFocusInWindow();↵ | |
4 | focusSet = true;↵ | 4 | focusSet = true;↵ | |
5 | } | 5 | } | |
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.1 |
Clones location | Clones are in the same method |
Number of node comparisons | 11 |
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) | 1.8 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
21 | bufError.append(i18n.ERROR_PASSWORD_MISSING + CR); |
| 31 | bufError.append(i18n.ERROR_PASSWORD_DIFFERENCES + CR); | ||||||||||
22 | if (!focusSet) | 32 | if (!focusSet) | |||||||||||
23 | jpasswordField1.requestFocusInWindow(); | 33 | jpasswordField1.requestFocusInWindow(); | |||||||||||
24 | focusSet = true; | 34 | focusSet = true; |
Row | Violation |
---|