CloneSet3438


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1596
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetEvaluator.java
25130
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/VariablesEvaluator.java
Clone Instance
1
Line Count
5
Source Line
96
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetEvaluator.java

        EvaluationResult result = (EvaluationResult) resultsByIDs.get(evaluationID);
        if (result == null) {
                resultsByIDs.put(evaluationID, new EvaluationResult(evaluationID, evaluationType, new CategorizedProblem[] {
                                                                                                                            problem
                                                                                                                           } ));
        }
        else   {
                result.addProblem(problem);
        }


Clone Instance
2
Line Count
5
Source Line
130
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/VariablesEvaluator.java

        EvaluationResult result = (EvaluationResult) resultsByIDs.get(evaluationID);
        if (result == null) {
                resultsByIDs.put(evaluationID, new EvaluationResult(evaluationID, evaluationType, new CategorizedProblem[] {
                                                                                                                            problem
                                                                                                                           } ));
        }
        else   {
                result.addProblem(problem);
        }


Clone AbstractionParameter Count: 0Parameter Bindings

EvaluationResult result = (EvaluationResult) resultsByIDs.get(evaluationID);
if (result == null) {
  resultsByIDs.put(evaluationID, new EvaluationResult(evaluationID, evaluationType, new CategorizedProblem[] {
                                                                                                               problem
                                                                                                             } ));
}
else {
  result.addProblem(problem);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None