File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/modifiers/gui/CounterConfigGui.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/config/gui/LdapConfigGui.java | |||
Method name: void clearGui()
|
Method name: void itemStateChanged(ItemEvent)
|
|||
Number of AST nodes: 7 | Number of AST nodes: 7 | |||
1 | super.clearGui();↵ | |||
2 | ↵ | |||
3 | startField.setText(""); //$NON-NLS-1$↵ | |||
4 | incrField↵ | 1 | cl.show(cards, "Delete");↵ | |
2 | tableModifyPanel.clear();↵ | |||
5 | .setText(""); //$NON-NLS-1$↵ | 3 | modify.setText(""); // $NON-NLS-1$↵ | |
6 | endField.setText(""); //$NON-NLS-1$↵ | |||
7 | varNameFiel↵ | 4 | tableAddPanel.clear();↵ | |
8 | d.setText(""); //$NON-NLS-1$↵ | 5 | add.setText(""); // $NON-NLS-1$↵ | |
9 | formatField.setText(""); //$NON-NLS-1$↵ | 6 | searchbase.setText(""); // $NON-NLS-1$↵ | |
10 | perUserField.setSelected(false); | 7 | searchfilter.setText(""); | |
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 | 49 |
Number of mapped statements | 7 |
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.clearGui(); |
| 11 | cl.show(cards, "Delete"); | |||||||||||||||||||||||
2 | startField.setText(""); |
| 16 | searchbase.setText(""); | |||||||||||||||||||||||
3 | incrField.setText(""); |
| 15 | add.setText(""); | |||||||||||||||||||||||
4 | endField.setText(""); |
| 13 | modify.setText(""); | |||||||||||||||||||||||
5 | varNameField.setText(""); |
| 17 | searchfilter.setText(""); | |||||||||||||||||||||||
6 | formatField.setText(""); |
| 14 | tableAddPanel.clear(); | |||||||||||||||||||||||
7 | perUserField.setSelected(false); |
| 12 | tableModifyPanel.clear(); |
Row | Violation |
---|---|
1 | Expression super.clearGui() is a void method call, and thus it cannot be parameterized |
2 | Expression cl.show(cards,"Delete") is a void method call, and thus it cannot be parameterized |
3 | Expression formatField.setText("") is a void method call, and thus it cannot be parameterized |
4 | Expression tableAddPanel.clear() is a void method call, and thus it cannot be parameterized |
5 | Expression formatField.setText("") is a void method call, and thus it cannot be parameterized |
6 | Expression tableAddPanel.clear() is a void method call, and thus it cannot be parameterized |
7 | Expression perUserField.setSelected(false) is a void method call, and thus it cannot be parameterized |
8 | Expression tableModifyPanel.clear() is a void method call, and thus it cannot be parameterized |
9 | Expression perUserField.setSelected(false) is a void method call, and thus it cannot be parameterized |
10 | Expression tableModifyPanel.clear() is a void method call, and thus it cannot be parameterized |