Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.972 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 55 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/compilers/Javac12.java |
2 | 6 | 75 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/rmic/SunRmic.java |
| |||||
Constructor cons = c.getConstructor(new Class[] { OutputStream.class , String.class } ); Object compiler = cons.newInstance(new Object[] { logstr, "javac" } ); // Call the compile() method Method compile = c.getMethod("compile", new Class[] { String[].class } ); |
| |||||
Constructor cons = c.getConstructor(new Class[] { OutputStream.class , String.class } ); Object rmic = cons.newInstance(new Object[] { logstr, "rmic" } ); Method doRmic = c.getMethod("compile", new Class[] { String[].class } ); |
| |||
Constructor cons = c.getConstructor(new Class[] { OutputStream.class , String.class } ); Object [[#variable131b35a0]]= cons.newInstance(new Object[] { logstr, [[#variable131b29a0]] } ); // Call the compile() method Method [[#variable131b28e0]]= c.getMethod("compile", new Class[] { String[].class } ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#131b35a0]] | compiler |
1 | 2 | [[#131b35a0]] | rmic |
2 | 1 | [[#131b29a0]] | "javac" |
2 | 2 | [[#131b29a0]] | "rmic" |
3 | 1 | [[#131b28e0]] | compile |
3 | 2 | [[#131b28e0]] | doRmic |