CloneSet3454


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4330.976statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14402
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java
24416
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java
34422
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java
Clone Instance
1
Line Count
4
Source Line
402
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java

                                if ( !resolvedPath.isAbsolute()) {
                                        String message = Messages.format(NewWizardMessages.SourceAttachmentBlock_filename_error_notabsolute, filePath.toString());
                                        status.setError(message);
                                        return status;
                                }


Clone Instance
2
Line Count
4
Source Line
416
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java

                                if ( !file.exists()) {
                                        String message = Messages.format(NewWizardMessages.SourceAttachmentBlock_filename_error_filenotexists, filePath.toString());
                                        status.setError(message);
                                        return status;
                                }


Clone Instance
3
Line Count
4
Source Line
422
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java

                                        if ( !filePath.isAbsolute()) {
                                                String message = Messages.format(NewWizardMessages.SourceAttachmentBlock_filename_error_notabsolute, filePath.toString());
                                                status.setError(message);
                                                return status;
                                        }


Clone AbstractionParameter Count: 3Parameter Bindings

if ( ! [[#variable5fe36b20]]. [[#variable5d66cc40]]()) {
  String message = Messages.format(NewWizardMessages. [[#variable9578d560]], filePath.toString());
  status.setError(message);
  return status;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5fe36b20]]
resolvedPath 
12[[#5fe36b20]]
filePath 
13[[#5fe36b20]]
file 
21[[#5d66cc40]]
isAbsolute 
22[[#5d66cc40]]
isAbsolute 
23[[#5d66cc40]]
exists 
31[[#9578d560]]
SourceAttachmentBlock_filename_error_notabsolute 
32[[#9578d560]]
SourceAttachmentBlock_filename_error_notabsolute 
33[[#9578d560]]
SourceAttachmentBlock_filename_error_filenotexists