CloneSet3836


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.977executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112526
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
212556
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
Clone Instance
1
Line Count
12
Source Line
526
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java

                                                         {
                        char ch = indent.charAt(i);
                        switch (ch) {
                                case '\t':
                                        if (tabSize > 0) {
                                                int reminder = length % tabSize;
                                                length += tabSize - reminder;
                                        }
                                        break;
                                case ' ':
                                        length++;
                                        break;
                              }
                                                         }


Clone Instance
2
Line Count
12
Source Line
556
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java

                                                                  {
                        char ch = reference.charAt(i);
                        switch (ch) {
                                case '\t':
                                        if (tabSize > 0) {
                                                int reminder = measured % tabSize;
                                                measured += tabSize - reminder;
                                        }
                                        break;
                                case ' ':
                                        measured++;
                                        break;
                              }
                                                                  }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  char ch = [[#variable99b2bf80]].charAt(i);
  switch (ch) {
    case '\t':
      if (tabSize > 0) {
        int reminder = [[#variable99b2bfe0]] % tabSize;
         [[#variable99b2bfe0]]+= tabSize - reminder;
      }
      break;
    case ' ':
       [[#variable99b2bfe0]]++;
      break;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99b2bf80]]
reference 
12[[#99b2bf80]]
indent 
21[[#99b2bfe0]]
measured 
22[[#99b2bfe0]]
length