| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 3 | 0.963 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 53 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/CommentAnalyzer.java |
| 2 | 3 | 57 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/CommentAnalyzer.java |
| ||||
if (checkStart(scanner, selection.getOffset())) {
result.addFatalError(RefactoringCoreMessages.CommentAnalyzer_starts_inside_comment);
break loop;
}
|
| ||||
if (checkEnd(scanner, selection.getInclusiveEnd())) {
result.addFatalError(RefactoringCoreMessages.CommentAnalyzer_ends_inside_comment);
break loop;
}
|
| |||
if ( [[#variableb5796b80]](scanner, selection. [[#variableb5796b20]]())) {
result.addFatalError(RefactoringCoreMessages. [[#variableb5796aa0]]);
break loop;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b5796b80]] | checkStart |
| 1 | 2 | [[#b5796b80]] | checkEnd |
| 2 | 1 | [[#b5796b20]] | getOffset |
| 2 | 2 | [[#b5796b20]] | getInclusiveEnd |
| 3 | 1 | [[#b5796aa0]] | CommentAnalyzer_starts_inside_comment |
| 3 | 2 | [[#b5796aa0]] | CommentAnalyzer_ends_inside_comment |