Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 5 | 0.983 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 387 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexManager.java |
2 | 9 | 561 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexManager.java |
| ||||
/** * Index the content of the given source folder. */ public void indexSourceFolder(JavaProject javaProject, IPath sourceFolder, char[][] inclusionPatterns, char[][] exclusionPatterns) { IProject project = javaProject.getProject(); if (this.jobEnd > this.jobStart) { // skip it if a job to index the project is already in the queue IndexRequest request = new IndexAllProject(project, this ); if (isJobWaiting(request)) return; } this.request(new AddFolderToIndex(sourceFolder, project, inclusionPatterns, exclusionPatterns, this )); } |
| ||||
/** * Remove the content of the given source folder from the index. */ public void removeSourceFolderFromIndex(JavaProject javaProject, IPath sourceFolder, char[][] inclusionPatterns, char[][] exclusionPatterns) { IProject project = javaProject.getProject(); if (this.jobEnd > this.jobStart) { // skip it if a job to index the project is already in the queue IndexRequest request = new IndexAllProject(project, this ); if (isJobWaiting(request)) return; } this.request(new RemoveFolderFromIndex(sourceFolder, inclusionPatterns, exclusionPatterns, project, this )); } |
| |||
/** * Index the content of the given source folder. */ /** * Remove the content of the given source folder from the index. */ public void [[#variable9b260340]](JavaProject javaProject, IPath sourceFolder, char[][] inclusionPatterns, char[][] exclusionPatterns) { IProject project = javaProject.getProject(); if (this.jobEnd > this.jobStart) { // skip it if a job to index the project is already in the queue IndexRequest request = new IndexAllProject(project, this ); if (isJobWaiting(request)) return; } this.request(new [[#variable9b2602e0]](sourceFolder, [[#variable9b260240]], [[#variable9b1a1360]], [[#variable9b2602c0]], this )); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b260340]] | indexSourceFolder |
1 | 2 | [[#9b260340]] | removeSourceFolderFromIndex |
2 | 1 | [[#9b2602e0]] | AddFolderToIndex |
2 | 2 | [[#9b2602e0]] | RemoveFolderFromIndex |
3 | 1 | [[#9b260240]] | project |
3 | 2 | [[#9b260240]] | inclusionPatterns |
4 | 1 | [[#9b1a1360]] | inclusionPatterns |
4 | 2 | [[#9b1a1360]] | exclusionPatterns |
5 | 1 | [[#9b2602c0]] | exclusionPatterns |
5 | 2 | [[#9b2602c0]] | project |