Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.951 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 245 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/PatternSet.java |
2 | 8 | 263 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/PatternSet.java |
| |||||
{ if (isReference()) { throw tooManyAttributes(); } if (includes != null && includes.length() > 0) { StringTokenizer tok = new StringTokenizer(includes, ", ", false); while (tok.hasMoreTokens()) { createInclude().setName(tok.nextToken()); } } } |
| |||||
{ if (isReference()) { throw tooManyAttributes(); } if (excludes != null && excludes.length() > 0) { StringTokenizer tok = new StringTokenizer(excludes, ", ", false); while (tok.hasMoreTokens()) { createExclude().setName(tok.nextToken()); } } } |
| |||
{ if (isReference()) { throw tooManyAttributes(); } if ( [[#variable100ff900]]!= null && [[#variable100ff900]].length() > 0) { StringTokenizer tok = new StringTokenizer( [[#variable100ff900]], ", ", false); while (tok.hasMoreTokens()) { [[#variable100ff920]]().setName(tok.nextToken()); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#100ff900]] | includes |
1 | 2 | [[#100ff900]] | excludes |
2 | 1 | [[#100ff920]] | createInclude |
2 | 2 | [[#100ff920]] | createExclude |