for (int x = 0; x < groups; x++) { buf.append(x); vars.put(buf.toString(), match.group(x)); buf.setLength(pfxlen); }
if (te instanceof TestPlan || te instanceof WorkBench) { name.append(cur.getName()); name.append(seperator); buildNodesModel(cur, name.toString(), 0); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/RegexExtractor.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/gui/ModuleControllerGui.java
Method name: void saveGroups(JMeterVariables, String, MatchResult) Method name: void buildNodesModel(JMeterTreeNode, String, int)
Number of AST nodes: 4 Number of AST nodes: 4
1
for (int x = 0; x < groups; x++) {
1
if (te instanceof TestPlan || te instanceof WorkBench) {
2
			buf.append(x);
2
					name.append(
3
			vars.put(buf.toString(), match.group(x));
4
			buf.setLength(pfxlen
3
cur.getName());
4
					name.append(seperator);
5
);
5
					buildNodesModel(cur, name.toString(), 0);
6
		}
6
				}
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 locationClones are in different classes
Number of node comparisons1