CloneSet4355


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15113
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/SocketTransportService.java
25264
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/SocketTransportService.java
Clone Instance
1
Line Count
5
Source Line
113
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/SocketTransportService.java

        if (strings.length == 2) {
            host = strings[0];
            port = Integer.parseInt(strings[1]);
        }
        else   {
            port = Integer.parseInt(strings[0]);
        }


Clone Instance
2
Line Count
5
Source Line
264
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/SocketTransportService.java

            if (strings.length == 2) {
                host = strings[0];
                port = Integer.parseInt(strings[1]);
            }
            else   {
                port = Integer.parseInt(strings[0]);
            }


Clone AbstractionParameter Count: 0Parameter Bindings

if (strings.length == 2) {
  host = strings[0];
  port = Integer.parseInt(strings[1]);
}
else {
  port = Integer.parseInt(strings[0]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None