CloneSet596


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11320.980statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111400
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java
211533
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java
311809
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java
Clone Instance
1
Line Count
11
Source Line
400
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java

                        for (int i = 0; i < length - 1; i++) {
                                char[] exceptionName = exceptionNames[i];
                                CharOperation.replace(exceptionName, '/', '.');
                                buffer
                                        .append(returnClassName(exceptionName, '.', mode))
                                        .append(Messages.disassembler_comma).
                                         append(Messages.disassembler_space);
                        }
                        char[] exceptionName = exceptionNames[length - 1];
                        CharOperation.replace(exceptionName, '/', '.');
                        buffer.append(returnClassName(exceptionName, '.', mode));


Clone Instance
2
Line Count
11
Source Line
533
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java

                        for (int i = 0; i < length - 1; i++) {
                                char[] exceptionName = exceptionNames[i];
                                CharOperation.replace(exceptionName, '/', '.');
                                buffer
                                        .append(returnClassName(exceptionName, '.', mode))
                                        .append(Messages.disassembler_comma).
                                         append(Messages.disassembler_space);
                        }
                        char[] exceptionName = exceptionNames[length - 1];
                        CharOperation.replace(exceptionName, '/', '.');
                        buffer.append(returnClassName(exceptionName, '.', mode));


Clone Instance
3
Line Count
11
Source Line
809
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java

                                for (int i = 0; i < length - 1; i++) {
                                        char[] superinterface = superclassInterfaces[i];
                                        CharOperation.replace(superinterface, '/', '.');
                                        buffer
                                                .append(returnClassName(superinterface, '.', mode))
                                                .append(Messages.disassembler_comma).
                                                 append(Messages.disassembler_space);
                                }
                                char[] superinterface = superclassInterfaces[length - 1];
                                CharOperation.replace(superinterface, '/', '.');
                                buffer.append(returnClassName(superinterface, '.', mode));


Clone AbstractionParameter Count: 2Parameter Bindings

for (int i = 0; i < length - 1; i++) {
  char[]  [[#variable626cde20]]= [[#variable77b56220]][i];
  CharOperation.replace( [[#variable626cde20]], '/', '.');
  buffer.append(returnClassName( [[#variable626cde20]], '.', mode)).append(Messages.disassembler_comma).append(Messages.disassembler_space);
}
char[]  [[#variable626cde20]]= [[#variable77b56220]][length - 1];
CharOperation.replace( [[#variable626cde20]], '/', '.');
buffer.append(returnClassName( [[#variable626cde20]], '.', mode));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#626cde20]]
exceptionName 
12[[#626cde20]]
superinterface 
13[[#626cde20]]
exceptionName 
21[[#77b56220]]
exceptionNames 
22[[#77b56220]]
superclassInterfaces 
23[[#77b56220]]
exceptionNames