Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 5 | 0.975 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 546 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java |
2 | 8 | 582 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ASTNodes.java |
| ||||
ASTNode root = node.getRoot(); if ( !(root instanceof CompilationUnit)) return EMPTY_PROBLEMS; IProblem[] problems = ((CompilationUnit) root).getProblems(); if (root == node) return problems; final int iterations = computeIterations(scope); List result = new ArrayList(5); |
| ||||
ASTNode root = node.getRoot(); if ( !(root instanceof CompilationUnit)) return EMPTY_MESSAGES; Message[] messages = ((CompilationUnit) root).getMessages(); if (root == node) return messages; final int iterations = computeIterations(flags); List result = new ArrayList(5); |
| |||
ASTNode root = node.getRoot(); if ( !(root instanceof CompilationUnit)) return [[#variable58913d00]]; [[#variable58913c00]][] [[#variable58913c60]]= ((CompilationUnit) root). [[#variable58912c40]](); if (root == node) return [[#variable58913c60]]; final int iterations = computeIterations( [[#variable58913ca0]]); List result = new ArrayList(5); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58913d00]] | EMPTY_PROBLEMS |
1 | 2 | [[#58913d00]] | EMPTY_MESSAGES |
2 | 1 | [[#58913c00]] | IProblem |
2 | 2 | [[#58913c00]] | Message |
3 | 1 | [[#58913c60]] | problems |
3 | 2 | [[#58913c60]] | messages |
4 | 1 | [[#58912c40]] | getProblems |
4 | 2 | [[#58912c40]] | getMessages |
5 | 1 | [[#58913ca0]] | scope |
5 | 2 | [[#58913ca0]] | flags |