void setXAxis(String field) {
setProperty(REPORT_CHART_X_AXIS,field);
}
public String getYAxis() {
return getPropertyAsString(REPORT_CHART_Y_AXIS);
}
public void setYAxis(String scale) {
setProperty(REPORT_CHART_Y_AXIS,scale);
void setValue(String value) {
this.setProperty(VALUE, value);
}
/**
* get the domain for this object.
*/
public synchronized String getDomain() {
return getPropertyAsString(DOMAIN);
}
/**
* set the domain for this object.
*/
public synchronized void setDomain(String domain) {
setProperty(DOMAIN, domain);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/AbstractChart.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/Cookie.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void setXAxis(String field) {↵ | | 1 | void setValue(String ↵
|
2 | setProperty(REPORT_CHART_X_AXIS,field);↵ | | |
|
3 | }↵ | | |
|
4 | ↵ | | |
|
5 | public↵ | | 2 | value) {↵
|
| | | 3 | this.setProperty(VALUE, value);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * get the domain for this object.↵
|
| | | 7 | */↵
|
6 | String getYAxis() {↵ | | 8 | public synchronized String getDomain() {↵
|
7 | return getPropertyAsString(REPORT_CHART_Y_AXIS);↵ | | 9 | return getPropertyAsString(↵
|
8 | }↵ | | |
|
9 | ↵ | | |
|
10 | public↵ | | 10 | DOMAIN);↵
|
| | | 11 | }↵
|
|
| | | 12 | /**↵
|
| | | 13 | * set the domain for this object.↵
|
| | | 14 | */↵
|
11 | void setYAxis(String scale) {↵ | | 15 | public synchronized void setDomain(String domain) {↵
|
12 | setProperty(REPORT_CHART_Y_AXIS,scale);↵ | | 16 | setProperty(↵
|
13 | | | 17 | DOMAIN, domain);↵
|
| | | 18 |
|
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 |