String commandName = (String) iter.next(); Set commandObjects = (Set) commands.get(commandName); if (commandObjects == null) { commandObjects = new HashSet(); commands.put(commandName, commandObjects); } commandObjects.add(command);
String commandName = (String) iter.next(); Set commandObjects = (Set) commands.get(commandName); if (commandObjects == null) { commandObjects = new HashSet(); commands.put(commandName, commandObjects); } commandObjects.add(command);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/action/ActionRouter.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/action/ReportActionRouter.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String commandName = (String) iter.next();
1
String commandName = (String) iter.next();
2
                            Set commandObjects = (Set) commands.get(commandName);
2
                            Set commandObjects = (Set) commands.get(commandName);
3
                            if (commandObjects == null) {
3
                            if (commandObjects == null) {
4
                                commandObjects = new HashSet();
4
                                commandObjects = new HashSet();
5
                                commands.put(commandName, commandObjects);
5
                                commands.put(commandName, commandObjects);
6
                            }
6
                            }
7
                            commandObjects.add(command);
7
                            commandObjects.add(command);
8
                        
8
                        
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0