Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 5 | 0.959 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 2322 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
2 | 12 | 2343 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
| ||||
private IAccessRule[] loadAccessRules() throws IOException { int count = loadInt(); if (count == 0) return ClasspathEntry.NO_ACCESS_RULES; IAccessRule[] rules = new IAccessRule[count]; for (int i = 0; i < count; ++i) rules[i] = loadAccessRule(); return rules; } |
| ||||
private IClasspathAttribute[] loadAttributes() throws IOException { int count = loadInt(); if (count == 0) return ClasspathEntry.NO_EXTRA_ATTRIBUTES; IClasspathAttribute[] attributes = new IClasspathAttribute[count]; for (int i = 0; i < count; ++i) attributes[i] = loadAttribute(); return attributes; } |
| |||
private [[#variable50634580]][] [[#variable506344e0]]() throws IOException { int count = loadInt(); if (count == 0) return ClasspathEntry. [[#variable50634440]]; [[#variable50634580]][] [[#variable506343c0]]= new [[#variable50634580]][count]; for (int i = 0; i < count; ++i) [[#variable506343c0]][i] = [[#variable50634340]](); return [[#variable506343c0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50634580]] | IAccessRule |
1 | 2 | [[#50634580]] | IClasspathAttribute |
2 | 1 | [[#506344e0]] | loadAccessRules |
2 | 2 | [[#506344e0]] | loadAttributes |
3 | 1 | [[#50634440]] | NO_ACCESS_RULES |
3 | 2 | [[#50634440]] | NO_EXTRA_ATTRIBUTES |
4 | 1 | [[#506343c0]] | rules |
4 | 2 | [[#506343c0]] | attributes |
5 | 1 | [[#50634340]] | loadAccessRule |
5 | 2 | [[#50634340]] | loadAttribute |