CloneSet2523


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.975block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112295
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java
212313
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java
Clone Instance
1
Line Count
12
Source Line
295
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java

                                                                         {
                StringBuffer buf = new StringBuffer();
                if (name1 != null && name1.length() > 0) {
                        buf.append(name1);
                }
                if (name2 != null && name2.length() > 0) {
                        if (buf.length() > 0) {
                                buf.append('.');
                        }
                        buf.append(name2);
                }
                return buf.toString();
                                                                         }


Clone Instance
2
Line Count
12
Source Line
313
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java

                                                                         {
                StringBuffer buf = new StringBuffer();
                if (name1 != null && name1.length > 0) {
                        buf.append(name1);
                }
                if (name2 != null && name2.length > 0) {
                        if (buf.length() > 0) {
                                buf.append('.');
                        }
                        buf.append(name2);
                }
                return buf.toString();
                                                                         }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  StringBuffer buf = new StringBuffer();
  if (name1 != null && name1 [[#variable987cdec0]] > 0) {
    buf.append(name1);
  }
  if (name2 != null && name2 [[#variable987cdec0]] > 0) {
    if (buf.length() > 0) {
      buf.append('.');
    }
    buf.append(name2);
  }
  return buf.toString();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#987cdec0]]
.length 
12[[#987cdec0]]
.length()