CloneSet1205


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7320.984statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
173047
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
273057
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
373067
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
Clone Instance
1
Line Count
7
Source Line
3047
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java

                if ((matches == null || matches.isEmpty()) && (fMarkMethodExitPoints || fMarkTypeOccurrences)) {
                        MethodExitsFinder finder = new MethodExitsFinder();
                        String message = finder.initialize(astRoot, selectedNode);
                        if (message == null) {
                                matches = finder.perform();
                                if ( !fMarkMethodExitPoints && !matches.isEmpty())
                                        matches.clear();
                        }
                }


Clone Instance
2
Line Count
7
Source Line
3057
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java

                if ((matches == null || matches.isEmpty()) && (fMarkBreakContinueTargets || fMarkTypeOccurrences)) {
                        BreakContinueTargetFinder finder = new BreakContinueTargetFinder();
                        String message = finder.initialize(astRoot, selectedNode);
                        if (message == null) {
                                matches = finder.perform();
                                if ( !fMarkBreakContinueTargets && !matches.isEmpty())
                                        matches.clear();
                        }
                }


Clone Instance
3
Line Count
7
Source Line
3067
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java

                if ((matches == null || matches.isEmpty()) && (fMarkImplementors || fMarkTypeOccurrences)) {
                        ImplementOccurrencesFinder finder = new ImplementOccurrencesFinder();
                        String message = finder.initialize(astRoot, selectedNode);
                        if (message == null) {
                                matches = finder.perform();
                                if ( !fMarkImplementors && !matches.isEmpty())
                                        matches.clear();
                        }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

if ((matches == null || matches.isEmpty()) && ( [[#variableb9d738a0]]|| fMarkTypeOccurrences)) {
   [[#variableb9d73840]] finder = new [[#variableb9d73840]]();
  String message = finder.initialize(astRoot, selectedNode);
  if (message == null) {
    matches = finder.perform();
    if ( ! [[#variableb9d738a0]]&& !matches.isEmpty())
      matches.clear();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9d738a0]]
fMarkImplementors 
12[[#b9d738a0]]
fMarkMethodExitPoints 
13[[#b9d738a0]]
fMarkBreakContinueTargets 
21[[#b9d73840]]
ImplementOccurrencesFinder 
22[[#b9d73840]]
MethodExitsFinder 
23[[#b9d73840]]
BreakContinueTargetFinder