File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/config/gui/LdapConfigGui.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/gui/RegexExtractorGui.java | |||
Method name: void itemStateChanged(ItemEvent)
|
Method name: void clearGui()
|
|||
Number of AST nodes: 8 | Number of AST nodes: 7 | |||
1 | cl.show(cards, ""); // $NON-NLS-1$↵ | |||
2 | tableAddPanel.clear();↵ | |||
3 | ad↵ | 1 | super.clearGui();↵ | |
2 | ↵ | |||
3 | useBody.setSelected(true);↵ | |||
4 | ↵ | |||
4 | d.setText(""); // $NON-NLS-1$↵ | 5 | regexField.setText(""); //$NON-NLS-1$↵ | |
5 | tableModifyPanel.clear();↵ | |||
6 | modify.setText(""); // $NON-NLS-1$↵ | 6 | templateField.setText(""); //$NON-NLS-1$↵ | |
7 | searchbase.setText(""); // $NON-NLS-1$↵ | 7 | defaultField.setText(""); //$NON-NLS-1$↵ | |
8 | searchfilter.setText(""); // $NON-NLS-1$↵ | 8 | refNameField.setText(""); //$NON-NLS-1$↵ | |
9 | delete.setText(""); | 9 | matchNumberField.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 | 56 |
Number of mapped statements | 7 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
40 | cl.show(cards, ""); |
| 1 | super.clearGui(); | |||||||||||||||||||||||
41 | tableAddPanel.clear(); |
| 2 | useBody.setSelected(true); | |||||||||||||||||||||||
42 | add.setText(""); |
| 6 | refNameField.setText(""); | |||||||||||||||||||||||
43 | tableModifyPanel.clear(); | | |||||||||||||||||||||||||
44 | modify.setText(""); |
| 4 | templateField.setText(""); | |||||||||||||||||||||||
45 | searchbase.setText(""); |
| 7 | matchNumberField.setText(""); | |||||||||||||||||||||||
46 | searchfilter.setText(""); |
| 5 | defaultField.setText(""); | |||||||||||||||||||||||
47 | delete.setText(""); |
| 3 | regexField.setText(""); |
Row | Violation |
---|---|
1 | Expression cl.show(cards,"") is a void method call, and thus it cannot be parameterized |
2 | Expression super.clearGui() is a void method call, and thus it cannot be parameterized |
3 | Expression tableAddPanel.clear() is a void method call, and thus it cannot be parameterized |
4 | Expression useBody.setSelected(true) is a void method call, and thus it cannot be parameterized |
5 | Expression tableAddPanel.clear() is a void method call, and thus it cannot be parameterized |
6 | Expression useBody.setSelected(true) is a void method call, and thus it cannot be parameterized |