Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
19 | 3 | 4 | 0.964 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 19 | 554 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java |
2 | 19 | 1261 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java |
3 | 19 | 1318 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java |
| ||||
switch (limitTo) { case IJavaSearchConstants.DECLARATIONS: findDeclarations = true; break; case IJavaSearchConstants.REFERENCES: readAccess = true; writeAccess = true; break; case IJavaSearchConstants.READ_ACCESSES: readAccess = true; break; case IJavaSearchConstants.WRITE_ACCESSES: writeAccess = true; break; case IJavaSearchConstants.ALL_OCCURRENCES: findDeclarations = true; readAccess = true; writeAccess = true; break; } |
| ||||
switch (maskedLimitTo) { case IJavaSearchConstants.DECLARATIONS: findDeclarations = true; break; case IJavaSearchConstants.REFERENCES: readAccess = true; writeAccess = true; break; case IJavaSearchConstants.READ_ACCESSES: readAccess = true; break; case IJavaSearchConstants.WRITE_ACCESSES: writeAccess = true; break; case IJavaSearchConstants.ALL_OCCURRENCES: findDeclarations = true; readAccess = true; writeAccess = true; break; } |
| ||||
switch (maskedLimitTo) { case IJavaSearchConstants.DECLARATIONS: findVarDeclarations = true; break; case IJavaSearchConstants.REFERENCES: findVarReadAccess = true; findVarWriteAccess = true; break; case IJavaSearchConstants.READ_ACCESSES: findVarReadAccess = true; break; case IJavaSearchConstants.WRITE_ACCESSES: findVarWriteAccess = true; break; case IJavaSearchConstants.ALL_OCCURRENCES: findVarDeclarations = true; findVarReadAccess = true; findVarWriteAccess = true; break; } |
| |||
switch ( [[#variablec30b7440]]) { case IJavaSearchConstants.DECLARATIONS: [[#variablec30b73a0]]= true; break; case IJavaSearchConstants.REFERENCES: [[#variablec30b7320]]= true; [[#variablec30b7280]]= true; break; case IJavaSearchConstants.READ_ACCESSES: [[#variablec30b7320]]= true; break; case IJavaSearchConstants.WRITE_ACCESSES: [[#variablec30b7280]]= true; break; case IJavaSearchConstants.ALL_OCCURRENCES: [[#variablec30b73a0]]= true; [[#variablec30b7320]]= true; [[#variablec30b7280]]= true; break; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c30b7440]] | maskedLimitTo |
1 | 2 | [[#c30b7440]] | maskedLimitTo |
1 | 3 | [[#c30b7440]] | limitTo |
2 | 1 | [[#c30b73a0]] | findDeclarations |
2 | 2 | [[#c30b73a0]] | findVarDeclarations |
2 | 3 | [[#c30b73a0]] | findDeclarations |
3 | 1 | [[#c30b7320]] | readAccess |
3 | 2 | [[#c30b7320]] | findVarReadAccess |
3 | 3 | [[#c30b7320]] | readAccess |
4 | 1 | [[#c30b7280]] | writeAccess |
4 | 2 | [[#c30b7280]] | findVarWriteAccess |
4 | 3 | [[#c30b7280]] | writeAccess |