File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/JMeter.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/JMeterReport.java | |||
Method name: void startGui(String)
|
Method name: void startGui(CLOption)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | ComponentUtil.centerComponentInWindow(main, 80);↵ | 1 | ComponentUtil.centerComponentInWindow(main, 80);↵ | |
2 | main.show();↵ | 2 | main.show();↵ | |
3 | ↵ | |||
4 | ActionRouter.getInstance().actionPerformed(new ActionEvent(main, 1, ActionNames.ADD_ALL)); | 3 | ReportActionRouter.getInstance().actionPerformed(new ActionEvent(main, 1, ReportCheckDirty.ADD_ALL)); | |
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 |
Number of node comparisons | 9 |
Number of mapped statements | 3 |
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 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7 | ComponentUtil.centerComponentInWindow(main, 80); |
| 7 | ComponentUtil.centerComponentInWindow(main, 80); | ||||||||||||||||||
8 | main.show(); |
| 8 | main.show(); | ||||||||||||||||||
9 | ActionRouter.getInstance().actionPerformed(new ActionEvent(main, 1, ActionNames.ADD_ALL)); |
| 9 | ReportActionRouter.getInstance().actionPerformed(new ActionEvent(main, 1, ReportCheckDirty.ADD_ALL)); |
Row | Violation |
---|---|
1 | Type org.apache.jmeter.gui.action.ActionNames does not match with type org.apache.jmeter.report.gui.action.ReportCheckDirty |
2 | Expression ActionRouter cannot be unified with expression ReportActionRouter , because common superclass java.awt.event.ActionListener does not declare member(s) public static org.apache.jmeter.gui.action.ActionRouter getInstance() , public static org.apache.jmeter.report.gui.action.ReportActionRouter getInstance() |