CloneSet6188


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1310.974statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1168
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/AddJarFileToIndex.java
2186
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexAllProject.java
3194
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexAllProject.java
Clone Instance
1
Line Count
1
Source Line
68
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/AddJarFileToIndex.java

                        // if index is already cached, then do not perform any check
                        // MUST reset the IndexManager if a jar file is changed
                        Index index = this.manager.getIndexForUpdate(this.containerPath, false, 
                                                                                                /*do not reuse index file*/
                                                                                                                            false
                                                                                                                                  /*do not create if none*/
                                                                                                                                 );


Clone Instance
2
Line Count
1
Source Line
86
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexAllProject.java

                                // nothing to index but want to save an empty index file so its not 'rebuilt' when part of a search request
                                Index index = this.manager.getIndexForUpdate(this.containerPath, true, 
                                                                                                       /*reuse index file*/
                                                                                                                            true
                                                                                                                                 /*create if none*/
                                                                                                                                );


Clone Instance
3
Line Count
1
Source Line
94
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexAllProject.java

                        Index index = this.manager.getIndexForUpdate(this.containerPath, true, 
                                                                                               /*reuse index file*/
                                                                                                                    true
                                                                                                                         /*create if none*/
                                                                                                                        );


Clone AbstractionParameter Count: 1Parameter Bindings

// if index is already cached, then do not perform any check
// MUST reset the IndexManager if a jar file is changed
// nothing to index but want to save an empty index file so its not 'rebuilt' when part of a search request
Index index = this.manager.getIndexForUpdate(this.containerPath,  [[#variable5d47a9c0]],  [[#variable5d47a9c0]]
                                                                                        /*do not create if none*/
                                                                                        /*create if none*/
                                                                                        );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5d47a9c0]]
false 
12[[#5d47a9c0]]
true 
13[[#5d47a9c0]]
true