CloneSet5256


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7260.956statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17451
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java
27479
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java
Clone Instance
1
Line Count
7
Source Line
451
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java

                                if ("for".equals(s)) //$NON-NLS-1$
                                        return TokenFOR;
                                if ("try".equals(s)) //$NON-NLS-1$
                                        return TokenTRY;
                                if ("new".equals(s)) //$NON-NLS-1$
                                        return TokenNEW;
                                break;


Clone Instance
2
Line Count
7
Source Line
479
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java

                                if ("return".equals(s)) //$NON-NLS-1$
                                        return TokenRETURN;
                                if ("static".equals(s)) //$NON-NLS-1$
                                        return TokenSTATIC;
                                if ("switch".equals(s)) //$NON-NLS-1$
                                        return TokenSWITCH;
                                break;


Clone AbstractionParameter Count: 6Parameter Bindings

if ( [[#variableb2b3a440]].equals(s)) //$NON-NLS-1$
  return [[#variableb2b3a3c0]];
if ( [[#variableb2b3a360]].equals(s)) //$NON-NLS-1$
  return [[#variableb2b3a2c0]];
if ( [[#variableb2b3a240]].equals(s)) //$NON-NLS-1$
  return [[#variableb2b3a1c0]];
break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2b3a440]]
"return" 
12[[#b2b3a440]]
"for" 
21[[#b2b3a3c0]]
TokenRETURN 
22[[#b2b3a3c0]]
TokenFOR 
31[[#b2b3a360]]
"static" 
32[[#b2b3a360]]
"try" 
41[[#b2b3a2c0]]
TokenSTATIC 
42[[#b2b3a2c0]]
TokenTRY 
51[[#b2b3a240]]
"switch" 
52[[#b2b3a240]]
"new" 
61[[#b2b3a1c0]]
TokenSWITCH 
62[[#b2b3a1c0]]
TokenNEW