void setXmlData(String data) {
setProperty(XML_DATA, data);
}
public String getXmlData() {
return getPropertyAsString(XML_DATA);
}
/**
* it's kinda obvious, but we state it anyways. Set the xml file with a
* string path.
*
* @param filename
*/
public void setXmlFile(String filename) {
setProperty(XML_DATA_FILE, filename);
}
void setXPathQuery(String val){
setProperty(XPATH_QUERY,val);
}
public String getXPathQuery(){
return getPropertyAsString(XPATH_QUERY);
}
public void setRefName(String refName) {
setProperty(REFNAME, refName);
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/XPathExtractor.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void setXmlData(String data) {↵ | | 1 | void setX↵
|
2 | setProperty(XML_DATA, data);↵ | | |
|
3 | }↵ | | |
|
|
4 | ↵ | | 2 | PathQuery(String val){↵
|
| | | 3 | setProperty(XPATH_QUERY,val); ↵
|
| | | 4 | }↵
|
| | | 5 | ↵
|
5 | public String getXmlData() {↵ | | 6 | public String getXPathQuery(){↵
|
6 | return getPropertyAsString(XML_DATA);↵ | | 7 | return getPropertyAsString(X↵
|
7 | }↵ | | |
|
| | | 8 | PATH_QUERY);↵
|
8 | /**↵ | | 9 | }↵
|
9 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵ | | 10 | ↵
|
10 | * string path.↵ | | |
|
11 | *↵ | | |
|
12 | * @param filename↵ | | |
|
13 | */↵ | | |
|
14 | ↵ | | |
|
15 | public void setXmlFile(String filename) {↵ | | 11 | public void setRefName(String refName) {↵
|
16 | setProperty(XML_DATA_FILE, filename);↵ | | 12 | setProperty(REFNAME, refName);↵
|
17 | } | | 13 | }
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |