File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/contact/ContactEditorDialog.java | File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/contact/ContactEditorDialog.java | |||
Method name: void initComponents()
|
Method name: void initComponents()
|
|||
Number of AST nodes: 10 | Number of AST nodes: 10 | |||
1 | imSeparator = compFactory.createSeparator(bundle↵ | 1 | emailSeparator = compFactory.createSeparator(bundle↵ | |
2 | .getString("imSeparator.text"));↵ | 2 | .getString("emailSeparator.text"));↵ | |
3 | String[] imTypes = new String[] { "Jabber", "AIM", "Yahoo", "MSN",↵ | 3 | String[] emailTypes = new String[] { "↵ | |
4 | "ICQ" };↵ | 4 | Work", "Home", "Other" };↵ | |
5 | imComboBox1 = new JComboBox(imTypes);↵ | 5 | emailComboBox1 = new JComboBox(emailTypes);↵ | |
6 | imTextField1 = new JTextField();↵ | 6 | emailTextField1 = new JTextField();↵ | |
7 | imComboBox2 = new JComboBox(imTypes);↵ | 7 | emailComboBox2 = new JComboBox(emailTypes);↵ | |
8 | imTextField2 = new JTextField();↵ | 8 | emailTextField2 = new JTextField();↵ | |
9 | imComboBox3 = new JComboBox(imTypes);↵ | 9 | emailComboBox3 = new JComboBox(emailTypes);↵ | |
10 | imTextField3 = new JTextField();↵ | 10 | emailTextField3 = new JTextField();↵ | |
11 | imComboBox4 = new JComboBox(imTypes);↵ | 11 | emailComboBox4 = new JComboBox(emailTypes);↵ | |
12 | imTextField4 = new JTextField(); | 12 | emailTextField4 = new JTextField(); | |
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 the same method |
Number of node comparisons | 46 |
Number of mapped statements | 10 |
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 | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
45 | imSeparator = compFactory.createSeparator(bundle.getString("imSeparator.text")); |
| 23 | emailSeparator = compFactory.createSeparator(bundle.getString("emailSeparator.text")); | ||||||||||||||||
46 | String[] imTypes = new String[] {"Jabber", "AIM", "Yahoo", "MSN", "ICQ"}; |
| 24 | String[] emailTypes = new String[] {"Work", "Home", "Other"}; | ||||||||||||||||
47 | imComboBox1 = new JComboBox(imTypes); |
| 25 | emailComboBox1 = new JComboBox(emailTypes); | ||||||||||||||||
48 | imTextField1 = new JTextField(); |
| 26 | emailTextField1 = new JTextField(); | ||||||||||||||||
49 | imComboBox2 = new JComboBox(imTypes); |
| 27 | emailComboBox2 = new JComboBox(emailTypes); | ||||||||||||||||
50 | imTextField2 = new JTextField(); |
| 28 | emailTextField2 = new JTextField(); | ||||||||||||||||
51 | imComboBox3 = new JComboBox(imTypes); |
| 29 | emailComboBox3 = new JComboBox(emailTypes); | ||||||||||||||||
52 | imTextField3 = new JTextField(); |
| 30 | emailTextField3 = new JTextField(); | ||||||||||||||||
53 | imComboBox4 = new JComboBox(imTypes); |
| 31 | emailComboBox4 = new JComboBox(emailTypes); | ||||||||||||||||
54 | imTextField4 = new JTextField(); |
| 32 | emailTextField4 = new JTextField(); |
Row | Violation |
---|