CloneSet2015


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.968executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18621
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Javadoc.java
28633
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Javadoc.java
Clone Instance
1
Line Count
8
Source Line
621
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Javadoc.java

                                                                                              {
                                        JavadocAllocationExpression allocationExpr = (JavadocAllocationExpression) this.seeReferences[i];
                                        // if binding is valid then look at arguments
                                        if (allocationExpr.binding != null && allocationExpr.binding.isValidBinding()) {
                                                if (allocationExpr.arguments != null) {
                                                        for (int j = 0,l = allocationExpr.arguments.length; j < l; j++) {
                                                                if (allocationExpr.arguments[j].sourceStart == start) {
                                                                        return allocationExpr.arguments[j];
                                                                }
                                                        }
                                                }
                                        }
                                                                                              }


Clone Instance
2
Line Count
8
Source Line
633
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Javadoc.java

                                                                                     {
                                        JavadocMessageSend messageSend = (JavadocMessageSend) this.seeReferences[i];
                                        // if binding is valid then look at arguments
                                        if (messageSend.binding != null && messageSend.binding.isValidBinding()) {
                                                if (messageSend.arguments != null) {
                                                        for (int j = 0,l = messageSend.arguments.length; j < l; j++) {
                                                                if (messageSend.arguments[j].sourceStart == start) {
                                                                        return messageSend.arguments[j];
                                                                }
                                                        }
                                                }
                                        }
                                                                                     }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   [[#variable54378f60]]  [[#variable54378ec0]]= ( [[#variable54378f60]]) this.seeReferences[i];
  // if binding is valid then look at arguments
  if ( [[#variable54378ec0]].binding != null && [[#variable54378ec0]].binding.isValidBinding()) {
    if ( [[#variable54378ec0]].arguments != null) {
      for (int j = 0, l = [[#variable54378ec0]].arguments.length; j < l; j++) {
        if ( [[#variable54378ec0]].arguments[j].sourceStart == start) {
          return [[#variable54378ec0]].arguments[j];
        }
      }
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54378f60]]
JavadocAllocationExpression 
12[[#54378f60]]
JavadocMessageSend 
21[[#54378ec0]]
allocationExpr 
22[[#54378ec0]]
messageSend