CloneSet2464


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13310.988executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113685
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
213754
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
313790
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
Clone Instance
1
Line Count
13
Source Line
685
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                                       {
                                        if (declaringType == null) return null; // invalid syntax
                                        switch (token) {
                                                case TerminalTokens.TokenNameGREATER:
                                                case TerminalTokens.TokenNameRIGHT_SHIFT:
                                                case TerminalTokens.TokenNameUNSIGNED_RIGHT_SHIFT:
                                                        argCount--;
                                                        break;
                                                case TerminalTokens.TokenNameLESS:
                                                        argCount++;
                                                        break;
                                              }
                                        declaringType += scanner.getCurrentTokenString();
                                       }


Clone Instance
2
Line Count
13
Source Line
754
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                                       {
                                        if (parameterType == null) return null; // invalid syntax
                                        switch (token) {
                                                case TerminalTokens.TokenNameGREATER:
                                                case TerminalTokens.TokenNameRIGHT_SHIFT:
                                                case TerminalTokens.TokenNameUNSIGNED_RIGHT_SHIFT:
                                                        argCount--;
                                                        break;
                                                case TerminalTokens.TokenNameLESS:
                                                        argCount++;
                                                        break;
                                              }
                                        parameterType += scanner.getCurrentTokenString();
                                       }


Clone Instance
3
Line Count
13
Source Line
790
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                                       {
                                        if (returnType == null) return null; // invalid syntax
                                        switch (token) {
                                                case TerminalTokens.TokenNameGREATER:
                                                case TerminalTokens.TokenNameRIGHT_SHIFT:
                                                case TerminalTokens.TokenNameUNSIGNED_RIGHT_SHIFT:
                                                        argCount--;
                                                        break;
                                                case TerminalTokens.TokenNameLESS:
                                                        argCount++;
                                                        break;
                                              }
                                        returnType += scanner.getCurrentTokenString();
                                       }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  if ( [[#variable9510ba60]]== null)
    return null; // invalid syntax
  switch (token) {
    case TerminalTokens.TokenNameGREATER:
    case TerminalTokens.TokenNameRIGHT_SHIFT:
    case TerminalTokens.TokenNameUNSIGNED_RIGHT_SHIFT:
      argCount--;
      break;
    case TerminalTokens.TokenNameLESS:
      argCount++;
      break;
  }
   [[#variable9510ba60]]+= scanner.getCurrentTokenString();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9510ba60]]
declaringType 
12[[#9510ba60]]
parameterType 
13[[#9510ba60]]
returnType