CloneSet6346


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.965class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15158
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
25165
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
Clone Instance
1
Line Count
5
Source Line
158
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java

        private boolean asBoolean(String string, boolean defaultValue) {
                if (string != null) {
                        return StringConverter.asBoolean(string, defaultValue);
                }
                return defaultValue;
        }


Clone Instance
2
Line Count
5
Source Line
165
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java

        private int asInt(String string, int defaultValue) {
                if (string != null) {
                        return StringConverter.asInt(string, defaultValue);
                }
                return defaultValue;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

private [[#variable60284220]]  [[#variable602841c0]](String string, [[#variable60284220]] defaultValue) {
  if (string != null) {
    return StringConverter. [[#variable602841c0]](string, defaultValue);
  }
  return defaultValue;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#60284220]]
boolean 
12[[#60284220]]
int 
21[[#602841c0]]
asBoolean 
22[[#602841c0]]
asInt