while (pe.hasMoreElements()) { String key = (String) pe.nextElement(); String icons[] = JOrphanUtils.split(p.getProperty(key), " ");//$NON-NLS-1$ iconlist[i][0] = key; iconlist[i][1] = icons[0]; if (icons.length > 1) { iconlist[i][2] = icons[1]; } i++; }
while (pe.hasMoreElements()) { String key = (String) pe.nextElement(); String icons[] = JOrphanUtils.split(p.getProperty(key), " "); iconlist[i][0] = key; iconlist[i][1] = icons[0]; if (icons.length > 1){ iconlist[i][2] = icons[1]; } i++; }
Clone fragments detected by clone detection tool
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: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
while (pe.hasMoreElements()) {
1
while (pe.hasMoreElements()) {
2
			String key = (String) pe.nextElement();
2
            String key = (String) pe.nextElement();
3
			String icons[] = JOrphanUtils.split(p.getProperty(key), " ");//$NON-NLS-1$
3
            String icons[] = JOrphanUtils.split(p.getProperty(key), " ");
4
			
5
iconlist[i][0] = key;
4
            iconlist[i][0] = key;
6
			iconlist[i][1] = icons[0];
5
            iconlist[i][1] = icons[0];
7
			if (icons.length > 1) {
6
            if (icons.length > 1){
8
			    iconlist[i][2] = icons[1];
7
                iconlist[i][2] = icons[1];
9
			}
10
			i++;
11
		
8
            }
9
            i++;
12
}
10
        }
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