Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.952 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 80 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroInstance.java |
2 | 2 | 443 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java |
| |||||
/** * A parameter name value pair as a xml attribute. * * @param name the name of the attribute * @param value the value of the attribute */ public void setDynamicAttribute(String name, String value) { map.put(name, value); } |
| |||||
/** * Add a parameter. * @param name the name of the parameter * @param value the value of the parameter */ public void addParam(String name, String value) { params.put(name, value); } |
| |||
/** * Add a parameter. * @param name the name of the parameter * @param value the value of the parameter */ /** * A parameter name value pair as a xml attribute. * * @param name the name of the attribute * @param value the value of the attribute */ public void [[#variable130fec00]](String name, String value) { [[#variable130feb80]].put(name, value); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130fec00]] | setDynamicAttribute |
1 | 2 | [[#130fec00]] | addParam |
2 | 1 | [[#130feb80]] | map |
2 | 2 | [[#130feb80]] | params |