Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 11 | 3 | 0.970 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 1572 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
2 | 8 | 1797 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
3 | 8 | 1810 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
4 | 8 | 1990 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
5 | 8 | 2234 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
6 | 8 | 2261 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
7 | 8 | 2395 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
8 | 8 | 2636 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
9 | 8 | 3133 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
10 | 7 | 3199 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
11 | 7 | 3210 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ArrayAccess) */ public boolean visit(ArrayAccess node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, ArrayAccess.ARRAY_PROPERTY); rewriteRequiredNode(node, ArrayAccess.INDEX_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(CastExpression) */ public boolean visit(CastExpression node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, CastExpression.TYPE_PROPERTY); rewriteRequiredNode(node, CastExpression.EXPRESSION_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(CatchClause) */ public boolean visit(CatchClause node) { // catch (Exception) Block if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, CatchClause.EXCEPTION_PROPERTY); rewriteRequiredNode(node, CatchClause.BODY_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(FieldAccess) */ public boolean visit(FieldAccess node) { // expression.name if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, FieldAccess.EXPRESSION_PROPERTY); // expression rewriteRequiredNode(node, FieldAccess.NAME_PROPERTY); // name return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(InstanceofExpression) */ public boolean visit(InstanceofExpression node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, InstanceofExpression.LEFT_OPERAND_PROPERTY); rewriteRequiredNode(node, InstanceofExpression.RIGHT_OPERAND_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(LabeledStatement) */ public boolean visit(LabeledStatement node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, LabeledStatement.LABEL_PROPERTY); rewriteRequiredNode(node, LabeledStatement.BODY_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(QualifiedName) */ public boolean visit(QualifiedName node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, QualifiedName.QUALIFIER_PROPERTY); rewriteRequiredNode(node, QualifiedName.NAME_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(SynchronizedStatement) */ public boolean visit(SynchronizedStatement node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, SynchronizedStatement.EXPRESSION_PROPERTY); rewriteRequiredNode(node, SynchronizedStatement.BODY_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.MemberValuePair) */ public boolean visit(MemberValuePair node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, MemberValuePair.NAME_PROPERTY); rewriteRequiredNode(node, MemberValuePair.VALUE_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.QualifiedType) */ public boolean visit(QualifiedType node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, QualifiedType.QUALIFIER_PROPERTY); rewriteRequiredNode(node, QualifiedType.NAME_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.SingleMemberAnnotation) */ public boolean visit(SingleMemberAnnotation node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, SingleMemberAnnotation.TYPE_NAME_PROPERTY); rewriteRequiredNode(node, SingleMemberAnnotation.VALUE_PROPERTY); return false; } |
| |||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ArrayAccess) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(CastExpression) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(CatchClause) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(FieldAccess) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(InstanceofExpression) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(LabeledStatement) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(QualifiedName) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(SynchronizedStatement) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.MemberValuePair) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.QualifiedType) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.SingleMemberAnnotation) */ public boolean visit( [[#variableb9b83040]] node) { // catch (Exception) Block // expression.name if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, [[#variableb9b83040]]. [[#variableb9b82fc0]]); // expression rewriteRequiredNode(node, [[#variableb9b83040]]. [[#variableb9b82f40]]); // name return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b9b83040]] | ArrayAccess |
1 | 2 | [[#b9b83040]] | CastExpression |
1 | 3 | [[#b9b83040]] | CatchClause |
1 | 4 | [[#b9b83040]] | FieldAccess |
1 | 5 | [[#b9b83040]] | InstanceofExpression |
1 | 6 | [[#b9b83040]] | LabeledStatement |
1 | 7 | [[#b9b83040]] | QualifiedName |
1 | 8 | [[#b9b83040]] | SynchronizedStatement |
1 | 9 | [[#b9b83040]] | MemberValuePair |
1 | 10 | [[#b9b83040]] | QualifiedType |
1 | 11 | [[#b9b83040]] | SingleMemberAnnotation |
2 | 1 | [[#b9b82fc0]] | ARRAY_PROPERTY |
2 | 2 | [[#b9b82fc0]] | TYPE_PROPERTY |
2 | 3 | [[#b9b82fc0]] | EXCEPTION_PROPERTY |
2 | 4 | [[#b9b82fc0]] | EXPRESSION_PROPERTY |
2 | 5 | [[#b9b82fc0]] | LEFT_OPERAND_PROPERTY |
2 | 6 | [[#b9b82fc0]] | LABEL_PROPERTY |
2 | 7 | [[#b9b82fc0]] | QUALIFIER_PROPERTY |
2 | 8 | [[#b9b82fc0]] | EXPRESSION_PROPERTY |
2 | 9 | [[#b9b82fc0]] | NAME_PROPERTY |
2 | 10 | [[#b9b82fc0]] | QUALIFIER_PROPERTY |
2 | 11 | [[#b9b82fc0]] | TYPE_NAME_PROPERTY |
3 | 1 | [[#b9b82f40]] | INDEX_PROPERTY |
3 | 2 | [[#b9b82f40]] | EXPRESSION_PROPERTY |
3 | 3 | [[#b9b82f40]] | BODY_PROPERTY |
3 | 4 | [[#b9b82f40]] | NAME_PROPERTY |
3 | 5 | [[#b9b82f40]] | RIGHT_OPERAND_PROPERTY |
3 | 6 | [[#b9b82f40]] | BODY_PROPERTY |
3 | 7 | [[#b9b82f40]] | NAME_PROPERTY |
3 | 8 | [[#b9b82f40]] | BODY_PROPERTY |
3 | 9 | [[#b9b82f40]] | VALUE_PROPERTY |
3 | 10 | [[#b9b82f40]] | NAME_PROPERTY |
3 | 11 | [[#b9b82f40]] | VALUE_PROPERTY |