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