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 getXLabel() {
return getPropertyAsString(REPORT_CHART_X_LABEL);
}
/**
* The X data labels should be either the filename, date or some
* other series of values
* @param label
*/
public void setXLabel(String label) {
setProperty(REPORT_CHART_X_LABEL,label);
}
public String getYLabel() {
return getPropertyAsString(REPORT_CHART_Y_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 getXLabel() {↵
|
2 | return getPropertyAsString(VALUE);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * set the valu↵ | | 3 | REPORT_CHART_X_LABEL);↵
|
| | | 4 | }↵
|
| | | 5 | ↵
|
| | | 6 | /**↵
|
6 | e for this object.↵ | | 7 | * The X data labels should be either the filename, date or ↵
|
7 | ↵ | | 8 | some↵
|
| | | 9 | * other series of values↵
|
| | | 10 | * @param label↵
|
8 | */↵ | | 11 | */↵
|
9 | public synchronized void setValue(String value) {↵ | | 12 | public void setXLabel(String ↵
|
10 | this.setProperty(VALUE, value);↵ | | |
|
11 | }↵ | | |
|
|
12 | /**↵ | | |
|
13 | * get the domain for this object.↵ | | |
|
14 | */↵ | | |
|
15 | public synchronized↵ | | 13 | label) {↵
|
| | | 14 | setProperty(REPORT_CHART_X_LABEL,label);↵
|
| | | 15 | }↵
|
| | | 16 | ↵
|
16 | String getDomain() {↵ | | 17 | public String getYLabel() {↵
|
17 | return getPropertyAsString(DOMAIN);↵ | | 18 | return getPropertyAsString(↵
|
18 | ↵ | | 19 | REPORT_CHART_Y_LABEL);↵
|
19 | } | | 20 | }
|
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 |