File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/gui/XPathExtractorGui.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: 9 | Number of AST nodes: 8 | |||
1 | super.clearGui();↵ | |||
2 | ↵ | |||
3 | xpathQueryField.setText(""); // $NON-NLS-1$↵ | |||
4 | defaultField↵ | 1 | cl.show(cards, ""); // $NON-NLS-1$↵ | |
2 | tableAddPanel.clear();↵ | |||
3 | add.setText(""); // $NON-NLS-1$↵ | |||
4 | tableModifyPanel.clear();↵ | |||
5 | .setText(""); // $NON-NLS-1$↵ | 5 | modify.setText(""); // $NON-NLS-1$↵ | |
6 | refNameField.setText(""); // $NON-NLS-1$↵ | 6 | searchbase.setText(""); // $NON-NLS-1$↵ | |
7 | tolerant.setSelected(false);↵ | |||
8 | nameSpace.setSelected(true);↵ | |||
9 | quiet.setSelected(true);↵ | |||
10 | reportErrors.setS↵ | 7 | searchfilter.setText(""); // $NON-NLS-1$↵ | |
11 | elected(false);↵ | 8 | delete↵ | |
12 | showWarnings.setSelected(false); | 9 | .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 | 72 |
Number of mapped statements | 6 |
Number of unmapped statements in the first code fragment | 3 |
Number of unmapped statements in the second code fragment | 2 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super.clearGui(); |
| 40 | cl.show(cards, ""); | |||||||||||||||||||||||
2 | xpathQueryField.setText(""); |
| 45 | searchbase.setText(""); | |||||||||||||||||||||||
3 | defaultField.setText(""); |
| 42 | add.setText(""); | |||||||||||||||||||||||
4 | refNameField.setText(""); |
| 44 | modify.setText(""); | |||||||||||||||||||||||
5 | tolerant.setSelected(false); | | |||||||||||||||||||||||||
6 | nameSpace.setSelected(true); | | |||||||||||||||||||||||||
7 | quiet.setSelected(true); | | |||||||||||||||||||||||||
8 | reportErrors.setSelected(false); |
| 43 | tableModifyPanel.clear(); | |||||||||||||||||||||||
9 | showWarnings.setSelected(false); |
| 41 | tableAddPanel.clear(); | |||||||||||||||||||||||
| 46 | searchfilter.setText(""); | |||||||||||||||||||||||||
| 47 | delete.setText(""); |
Row | Violation |
---|---|
1 | Expression super.clearGui() is a void method call, and thus it cannot be parameterized |
2 | Expression cl.show(cards,"") is a void method call, and thus it cannot be parameterized |
3 | Expression reportErrors.setSelected(false) is a void method call, and thus it cannot be parameterized |
4 | Expression tableModifyPanel.clear() is a void method call, and thus it cannot be parameterized |
5 | Expression reportErrors.setSelected(false) is a void method call, and thus it cannot be parameterized |
6 | Expression tableModifyPanel.clear() is a void method call, and thus it cannot be parameterized |
7 | Expression showWarnings.setSelected(false) is a void method call, and thus it cannot be parameterized |
8 | Expression tableAddPanel.clear() is a void method call, and thus it cannot be parameterized |
9 | Expression showWarnings.setSelected(false) is a void method call, and thus it cannot be parameterized |
10 | Expression tableAddPanel.clear() is a void method call, and thus it cannot be parameterized |