CloneSet1616


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113266
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/SourceBasedSourceGenerator.java
213296
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/SourceBasedSourceGenerator.java
Clone Instance
1
Line Count
13
Source Line
266
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/SourceBasedSourceGenerator.java

                                                if (index < 0) {
                                                        return false;
                                                }
                                                for (int i = typeName.length() - 1; i > index; i--) {
                                                        if ( !Character.isDigit(typeName.charAt(i))) {
                                                                return false;
                                                        }
                                                }
                                                typeName = typeName.substring(0, index);
                                                ASTNode parent = node.getParent();
                                                while ( !(parent instanceof CompilationUnit)) {
                                                        node = parent;
                                                        parent = node.getParent();
                                                }


Clone Instance
2
Line Count
13
Source Line
296
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/SourceBasedSourceGenerator.java

                                        if (index < 0) {
                                                return false;
                                        }
                                        for (int i = typeName.length() - 1; i > index; i--) {
                                                if ( !Character.isDigit(typeName.charAt(i))) {
                                                        return false;
                                                }
                                        }
                                        typeName = typeName.substring(0, index);
                                        ASTNode parent = node.getParent();
                                        while ( !(parent instanceof CompilationUnit)) {
                                                node = parent;
                                                parent = node.getParent();
                                        }


Clone AbstractionParameter Count: 0Parameter Bindings

if (index < 0) {
  return false;
}
for (int i = typeName.length() - 1; i > index; i--) {
  if ( !Character.isDigit(typeName.charAt(i))) {
    return false;
  }
}
typeName = typeName.substring(0, index);
ASTNode parent = node.getParent();
while ( !(parent instanceof CompilationUnit)) {
  node = parent;
  parent = node.getParent();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None