Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.956 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 109 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/IFileTypeInfo.java |
2 | 7 | 184 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JarFileEntryTypeInfo.java |
| ||||
if (fPackage != null && fPackage.length() > 0) { result.append(fPackage.replace(TypeInfo.PACKAGE_PART_SEPARATOR, TypeInfo.SEPARATOR)); result.append(TypeInfo.SEPARATOR); } result.append(fFile); result.append('.'); result.append(fExtension); |
| ||||
if (pack != null && pack.length() > 0) { result.append(pack.replace(TypeInfo.PACKAGE_PART_SEPARATOR, TypeInfo.SEPARATOR)); result.append(TypeInfo.SEPARATOR); } result.append(getFileName()); result.append('.'); result.append(getExtension()); |
| |||
if ( [[#variable564ec400]]!= null && [[#variable564ec400]].length() > 0) { result.append( [[#variable564ec400]].replace(TypeInfo.PACKAGE_PART_SEPARATOR, TypeInfo.SEPARATOR)); result.append(TypeInfo.SEPARATOR); } result.append( [[#variable564ec280]]); result.append('.'); result.append( [[#variable564ec2a0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#564ec400]] | pack |
1 | 2 | [[#564ec400]] | fPackage |
2 | 1 | [[#564ec280]] | getFileName() |
2 | 2 | [[#564ec280]] | fFile |
3 | 1 | [[#564ec2a0]] | getExtension() |
3 | 2 | [[#564ec2a0]] | fExtension |