CloneSet8290


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.953class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1525
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/LineInformation.java
2533
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/LineInformation.java
Clone Instance
1
Line Count
5
Source Line
25
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/LineInformation.java

                        public int getLineOfOffset(int offset) {
                                try {
                                        return doc.getLineOfOffset(offset);
                                } catch (BadLocationException e) {
                                        return -1;
                                  }
                        }


Clone Instance
2
Line Count
5
Source Line
33
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/LineInformation.java

                        public int getLineOffset(int line) {
                                try {
                                        return doc.getLineOffset(line);
                                } catch (BadLocationException e) {
                                        return -1;
                                  }
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

public int  [[#variablebc316ca0]](int  [[#variablebc316c20]]) {
  try {
    return doc. [[#variablebc316ca0]]( [[#variablebc316c20]]);
  }
  catch (BadLocationException e) {
    return -1;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bc316ca0]]
getLineOfOffset 
12[[#bc316ca0]]
getLineOffset 
21[[#bc316c20]]
offset 
22[[#bc316c20]]
line