CloneSet448


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16210.993statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11644
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/CommentAction.java
21644
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/UncommentAction.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
44
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/CommentAction.java

int[] bounds = sqlEntryPanel.getBoundsOfSQLToBeExecuted();
if (bounds[0] == bounds[1]) {
  return;
}
int caretPosition = sqlEntryPanel.getCaretPosition();
String textToComment = sqlEntryPanel.getText().substring(bounds[0], bounds[1]);
String[] lines = textToComment.split("\n");
StringBuffer commentedLines = new StringBuffer();
String startOfLineComment = sqlEntryPanel.getSession().getProperties().getStartOfLineComment();


First
Previous
Clone Instance
2
Line Count
16
Source Line
44
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/UncommentAction.java

int[] bounds = sqlEntryPanel.getBoundsOfSQLToBeExecuted();
if (bounds[0] == bounds[1]) {
  return;
}
int caretPosition = sqlEntryPanel.getCaretPosition();
String textToComment = sqlEntryPanel.getText().substring(bounds[0], bounds[1]);
String[] lines = textToComment.split("\n");
StringBuffer uncommentedLines = new StringBuffer();
String startOfLineComment = sqlEntryPanel.getSession().getProperties().getStartOfLineComment();


Clone AbstractionParameter Count: 1Parameter Bindings

int[] bounds = sqlEntryPanel.getBoundsOfSQLToBeExecuted();
if (bounds[0] == bounds[1]) {
  return;
}
int caretPosition = sqlEntryPanel.getCaretPosition();
String textToComment = sqlEntryPanel.getText().substring(bounds[0], bounds[1]);
String[] lines = textToComment.split("\n");
StringBuffer  [[#variable1ce22620]]= new StringBuffer();
String startOfLineComment = sqlEntryPanel.getSession().getProperties().getStartOfLineComment();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ce22620]]
commentedLines 
12[[#1ce22620]]
uncommentedLines