File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/JMeterMenuBar.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/JMeterMenuBar.java | |||
Method name: void makeRunMenu()
|
Method name: void makeRunMenu()
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | runMenu.add(remote_stop_all);↵ | 1 | runMenu.add(r↵ | |
2 | un_start);↵ | |||
2 | if (remote_exit != null) {↵ | 3 | if (remote_start != null) {↵ | |
3 | runMenu.add(remote_exit);↵ | 4 | runMenu.add(remote_start);↵ | |
4 | }↵ | 5 | }↵ | |
5 | remote_exit_all = new JMenuItem(JMeterUtils.getResString("remote_exit_all")); | 6 | remote_start_all = new JMenuItem(JMeterUtils.getResString("remote_start_all")); | |
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 | 6 |
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) | 4.8 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
42 | runMenu.add(remote_stop_all); |
| 25 | runMenu.add(run_start); | |||||||||||||
43 | if (remote_exit != null) |
| 26 | if (remote_start != null) | |||||||||||||
44 | runMenu.add(remote_exit); |
| 27 | runMenu.add(remote_start); | |||||||||||||
45 | remote_exit_all = new JMenuItem(JMeterUtils.getResString("remote_exit_all")); |
| 28 | remote_start_all = new JMenuItem(JMeterUtils.getResString("remote_start_all")); |
Row | Violation |
---|