Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 4 | 0.961 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 3012 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
2 | 7 | 3021 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
3 | 6 | 3104 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
| ||||
private void saveAttributes(IClasspathAttribute[] attributes) throws IOException { int count = attributes == null ? 0: attributes.length; saveInt(count); for (int i = 0; i < count; ++i) saveAttribute(attributes[i]); } |
| ||||
private void saveClasspathEntries(IClasspathEntry[] entries) throws IOException { int count = entries == null ? 0: entries.length; saveInt(count); for (int i = 0; i < count; ++i) saveClasspathEntry(entries[i]); } |
| ||||
private void savePaths(IPath[] paths) throws IOException { int count = paths == null ? 0: paths.length; saveInt(count); for (int i = 0; i < count; ++i) savePath(paths[i]); } |
| |||
private void [[#variable53e778c0]]( [[#variable53e77840]][] [[#variable53e777e0]]) throws IOException { int count = [[#variable53e777e0]]== null ? 0: [[#variable53e777e0]].length; saveInt(count); for (int i = 0; i < count; ++i) [[#variable53e77760]]( [[#variable53e777e0]][i]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53e778c0]] | saveAttributes |
1 | 2 | [[#53e778c0]] | saveClasspathEntries |
1 | 3 | [[#53e778c0]] | savePaths |
2 | 1 | [[#53e77840]] | IClasspathAttribute |
2 | 2 | [[#53e77840]] | IClasspathEntry |
2 | 3 | [[#53e77840]] | IPath |
3 | 1 | [[#53e777e0]] | attributes |
3 | 2 | [[#53e777e0]] | entries |
3 | 3 | [[#53e777e0]] | paths |
4 | 1 | [[#53e77760]] | saveAttribute |
4 | 2 | [[#53e77760]] | saveClasspathEntry |
4 | 3 | [[#53e77760]] | savePath |