Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 6 | 0.980 | statement_sequence[14] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 325 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java |
2 | 16 | 34 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaDocContextType.java |
| ||||
// global addResolver(new GlobalTemplateVariables.Cursor()); addResolver(new GlobalTemplateVariables.WordSelection()); addResolver(new GlobalTemplateVariables.LineSelection()); addResolver(new GlobalTemplateVariables.Dollar()); addResolver(new GlobalTemplateVariables.Date()); addResolver(new GlobalTemplateVariables.Year()); addResolver(new GlobalTemplateVariables.Time()); addResolver(new GlobalTemplateVariables.User()); // compilation unit addResolver(new File()); addResolver(new PrimaryTypeName()); addResolver(new ReturnType()); addResolver(new Method()); addResolver(new Type()); addResolver(new Package()); |
| ||||
// global addResolver(new GlobalTemplateVariables.Cursor()); addResolver(new GlobalTemplateVariables.LineSelection()); addResolver(new GlobalTemplateVariables.WordSelection()); addResolver(new GlobalTemplateVariables.Dollar()); addResolver(new GlobalTemplateVariables.Date()); addResolver(new GlobalTemplateVariables.Year()); addResolver(new GlobalTemplateVariables.Time()); addResolver(new GlobalTemplateVariables.User()); // compilation unit addResolver(new File()); addResolver(new PrimaryTypeName()); addResolver(new Method()); addResolver(new ReturnType()); addResolver(new Arguments()); addResolver(new Type()); |
| |||
// global addResolver(new GlobalTemplateVariables.Cursor()); addResolver(new GlobalTemplateVariables. [[#variable55b8f500]]()); addResolver(new GlobalTemplateVariables. [[#variable55b8f4a0]]()); addResolver(new GlobalTemplateVariables.Dollar()); addResolver(new GlobalTemplateVariables.Date()); addResolver(new GlobalTemplateVariables.Year()); addResolver(new GlobalTemplateVariables.Time()); addResolver(new GlobalTemplateVariables.User()); // compilation unit addResolver(new File()); addResolver(new PrimaryTypeName()); addResolver(new [[#variable55b8f3c0]]()); addResolver(new [[#variable55b8f340]]()); addResolver(new [[#variable55b8f380]]()); addResolver(new [[#variable55b8f300]]()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55b8f500]] | LineSelection |
1 | 2 | [[#55b8f500]] | WordSelection |
2 | 1 | [[#55b8f4a0]] | WordSelection |
2 | 2 | [[#55b8f4a0]] | LineSelection |
3 | 1 | [[#55b8f3c0]] | Method |
3 | 2 | [[#55b8f3c0]] | ReturnType |
4 | 1 | [[#55b8f340]] | ReturnType |
4 | 2 | [[#55b8f340]] | Method |
5 | 1 | [[#55b8f380]] | Arguments |
5 | 2 | [[#55b8f380]] | Type |
6 | 1 | [[#55b8f300]] | Type |
6 | 2 | [[#55b8f300]] | Package |