Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 0 | 1.000 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 142 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaConventions.java |
2 | 15 | 189 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaConventions.java |
| ||||
identifier = name.substring(0, index); // JSR-175 metadata strongly recommends "package-info.java" as the // file in which to store package annotations and // the package-level spec (replaces package.html) if ( !identifier.equals(PACKAGE_INFO)) { IStatus status = validateIdentifier(identifier); if ( !status.isOK()) { return status; } } IStatus status = ResourcesPlugin.getWorkspace().validateName(name, IResource.FILE); if ( !status.isOK()) { return status; } return JavaModelStatus.VERIFIED_OK; |
| ||||
identifier = name.substring(0, index); // JSR-175 metadata strongly recommends "package-info.java" as the // file in which to store package annotations and // the package-level spec (replaces package.html) if ( !identifier.equals(PACKAGE_INFO)) { IStatus status = validateIdentifier(identifier); if ( !status.isOK()) { return status; } } IStatus status = ResourcesPlugin.getWorkspace().validateName(name, IResource.FILE); if ( !status.isOK()) { return status; } return JavaModelStatus.VERIFIED_OK; |
| |||
identifier = name.substring(0, index); // JSR-175 metadata strongly recommends "package-info.java" as the // file in which to store package annotations and // the package-level spec (replaces package.html) if ( !identifier.equals(PACKAGE_INFO)) { IStatus status = validateIdentifier(identifier); if ( !status.isOK()) { return status; } } IStatus status = ResourcesPlugin.getWorkspace().validateName(name, IResource.FILE); if ( !status.isOK()) { return status; } return JavaModelStatus.VERIFIED_OK; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |