Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 8 | 2 | 0.977 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1712 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
2 | 7 | 1978 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
3 | 7 | 2344 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
4 | 7 | 2421 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
5 | 8 | 2574 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
6 | 7 | 2661 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
7 | 7 | 2711 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
8 | 6 | 3123 | 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(ArrayType) */ public boolean visit(ArrayType node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, ArrayType.COMPONENT_TYPE_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ExpressionStatement) */ public boolean visit(ExpressionStatement node) { // expression if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, ExpressionStatement.EXPRESSION_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ParenthesizedExpression) */ public boolean visit(ParenthesizedExpression node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, ParenthesizedExpression.EXPRESSION_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(SimpleType) */ public boolean visit(SimpleType node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, SimpleType.NAME_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(SwitchCase) */ public boolean visit(SwitchCase node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } // dont allow switching from case to default or back. New statements should be created. rewriteRequiredNode(node, SwitchCase.EXPRESSION_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ThrowStatement) */ public boolean visit(ThrowStatement node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, ThrowStatement.EXPRESSION_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(TypeLiteral) */ public boolean visit(TypeLiteral node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, TypeLiteral.TYPE_PROPERTY); return false; } |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.MarkerAnnotation) */ public boolean visit(MarkerAnnotation node) { if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } rewriteRequiredNode(node, MarkerAnnotation.TYPE_NAME_PROPERTY); return false; } |
| |||
/* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ArrayType) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ExpressionStatement) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ParenthesizedExpression) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(SimpleType) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(SwitchCase) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(ThrowStatement) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(TypeLiteral) */ /* (non-Javadoc) * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.MarkerAnnotation) */ public boolean visit( [[#variableb71e3480]] node) { // expression if ( !hasChildrenChanges(node)) { return doVisitUnchangedChildren(node); } // dont allow switching from case to default or back. New statements should be created. rewriteRequiredNode(node, [[#variableb71e3480]]. [[#variableb71e3580]]); return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b71e3480]] | ArrayType |
1 | 2 | [[#b71e3480]] | ExpressionStatement |
1 | 3 | [[#b71e3480]] | ParenthesizedExpression |
1 | 4 | [[#b71e3480]] | SimpleType |
1 | 5 | [[#b71e3480]] | SwitchCase |
1 | 6 | [[#b71e3480]] | ThrowStatement |
1 | 7 | [[#b71e3480]] | TypeLiteral |
1 | 8 | [[#b71e3480]] | MarkerAnnotation |
2 | 1 | [[#b71e3580]] | COMPONENT_TYPE_PROPERTY |
2 | 2 | [[#b71e3580]] | EXPRESSION_PROPERTY |
2 | 3 | [[#b71e3580]] | EXPRESSION_PROPERTY |
2 | 4 | [[#b71e3580]] | NAME_PROPERTY |
2 | 5 | [[#b71e3580]] | EXPRESSION_PROPERTY |
2 | 6 | [[#b71e3580]] | EXPRESSION_PROPERTY |
2 | 7 | [[#b71e3580]] | TYPE_PROPERTY |
2 | 8 | [[#b71e3580]] | TYPE_NAME_PROPERTY |