| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 4 | 0.957 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 179 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragment.java |
| 2 | 2 | 211 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragment.java |
| ||||
if ( !org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(classFileName)) {
throw new IllegalArgumentException(Messages.element_invalidClassFileName);
}
|
| ||||
if ( !org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(cuName)) {
throw new IllegalArgumentException(Messages.convention_unit_notJavaName);
}
|
| |||
if ( !org.eclipse.jdt.internal. [[#variable5b3c2560]].util.Util. [[#variable5b3c24e0]]( [[#variable5b3c22e0]])) {
throw new IllegalArgumentException(Messages. [[#variable5b3c24c0]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5b3c2560]] | compiler |
| 1 | 2 | [[#5b3c2560]] | core |
| 2 | 1 | [[#5b3c24e0]] | isClassFileName |
| 2 | 2 | [[#5b3c24e0]] | isJavaLikeFileName |
| 3 | 1 | [[#5b3c22e0]] | classFileName |
| 3 | 2 | [[#5b3c22e0]] | cuName |
| 4 | 1 | [[#5b3c24c0]] | element_invalidClassFileName |
| 4 | 2 | [[#5b3c24c0]] | convention_unit_notJavaName |