if(colInfo.upperCaseCompletionStringStartsWith(upperCaseColNamePattern)) { ret.add(colInfo); }
if (productName != null) { if (productName.contains(sybaseTwelveVersionId)) { result = ""; } }
Clone fragments detected by clone detection tool
File path: /sql12/plugins/codecompletion/src/net/sourceforge/squirrel_sql/plugins/codecompletion/CodeCompletionTableInfo.java File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/DatabaseObjectInfo.java
Method name: ArrayList getColumns(net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo, String) Method name: String checkSybaseIdentifierQuoteString(ISQLDatabaseMetaData, String)
Number of AST nodes: 2 Number of AST nodes: 3
1
if(colInfo.upperCaseCompletionStringStartsWith(upperCaseColNamePattern))
1
if
2
         {
3
            ret.add(colInfo);
2
 (productName != null) {
3
         if (productName.contains(sybaseTwelveVersionId)) {
4
            result = "";
4
   
5
         }
5
      }
6
      }
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.2
Clones locationClones are in different classes
Number of node comparisons1