Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 6 | 0.960 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 598 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java |
2 | 6 | 604 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java |
| ||||
for (int i = 0; i < typeParamNames.length; i++) { TypeParameter elem = (TypeParameter) typeParams.get(i); typeParamNames[i] = elem.getName().getIdentifier(); } List params = decl.parameters(); String[] paramNames = new String[params.size()]; |
| ||||
for (int i = 0; i < paramNames.length; i++) { SingleVariableDeclaration elem = (SingleVariableDeclaration) params.get(i); paramNames[i] = elem.getName().getIdentifier(); } List exceptions = decl.thrownExceptions(); String[] exceptionNames = new String[exceptions.size()]; |
| |||
for (int i = 0; i < [[#variable52b2b1e0]].length; i++) { [[#variable52b2b160]] elem = ( [[#variable52b2b160]]) [[#variable52b2b080]].get(i); [[#variable52b2b1e0]][i] = elem.getName().getIdentifier(); } List [[#variable512d5b80]]= decl. [[#variablea33d0540]](); String[] [[#variable52b2afc0]]= new String[ [[#variable512d5b80]].size()]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52b2b1e0]] | typeParamNames |
1 | 2 | [[#52b2b1e0]] | paramNames |
2 | 1 | [[#52b2b160]] | TypeParameter |
2 | 2 | [[#52b2b160]] | SingleVariableDeclaration |
3 | 1 | [[#52b2b080]] | typeParams |
3 | 2 | [[#52b2b080]] | params |
4 | 1 | [[#512d5b80]] | params |
4 | 2 | [[#512d5b80]] | exceptions |
5 | 1 | [[#a33d0540]] | parameters |
5 | 2 | [[#a33d0540]] | thrownExceptions |
6 | 1 | [[#52b2afc0]] | paramNames |
6 | 2 | [[#52b2afc0]] | exceptionNames |