CloneSet4569


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.993executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16239
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java
26275
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java
Clone Instance
1
Line Count
6
Source Line
239
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java

                                                                                                   {
                                        int priority = curr.getAttribute(IMarker.SEVERITY, -1);
                                        if (priority == IMarker.SEVERITY_WARNING) {
                                                info = ERRORTICK_WARNING;
                                        }
                                        else   if (priority == IMarker.SEVERITY_ERROR) {
                                                info = ERRORTICK_ERROR;
                                               }
                                                                                                   }


Clone Instance
2
Line Count
6
Source Line
275
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java

                                            {
                                int priority = marker.getAttribute(IMarker.SEVERITY, -1);
                                if (priority == IMarker.SEVERITY_WARNING) {
                                        info = ERRORTICK_WARNING;
                                }
                                else   if (priority == IMarker.SEVERITY_ERROR) {
                                        info = ERRORTICK_ERROR;
                                       }
                                            }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  int priority = [[#variable968a51e0]].getAttribute(IMarker.SEVERITY, -1);
  if (priority == IMarker.SEVERITY_WARNING) {
    info = ERRORTICK_WARNING;
  }
  else
    if (priority == IMarker.SEVERITY_ERROR) {
      info = ERRORTICK_ERROR;
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#968a51e0]]
marker 
12[[#968a51e0]]
curr