Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 5 | 0.952 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 203 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java |
2 | 4 | 512 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java |
3 | 2 | 158 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java |
4 | 2 | 1036 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java |
| ||||
IBinding[] varsBefore = (new ScopeAnalyzer(root)).getDeclarationsInScope(node.getStartPosition(), ScopeAnalyzer.VARIABLES ); IBinding[] varsAfter = (new ScopeAnalyzer(root)).getDeclarationsAfter(node.getStartPosition() + node.getLength() , ScopeAnalyzer.VARIABLES); |
| ||||
IBinding[] varsBefore = (new ScopeAnalyzer(root)).getDeclarationsInScope(fOldForStatement.getStartPosition(), ScopeAnalyzer.VARIABLES ); IBinding[] varsAfter = (new ScopeAnalyzer(root)).getDeclarationsAfter(fOldForStatement.getStartPosition() + fOldForStatement.getLength() , ScopeAnalyzer.VARIABLES); |
| ||||
final IBinding[] before = (new ScopeAnalyzer(unit)).getDeclarationsInScope(fStatement.getStartPosition(), ScopeAnalyzer.VARIABLES); final IBinding[] after = (new ScopeAnalyzer(unit)).getDeclarationsAfter(fStatement.getStartPosition() + fStatement.getLength(), ScopeAnalyzer.VARIABLES); |
| ||||
IBinding[] varsBefore = (new ScopeAnalyzer(root)).getDeclarationsInScope(node.getStartPosition(), ScopeAnalyzer.VARIABLES); IBinding[] varsAfter = (new ScopeAnalyzer(root)).getDeclarationsAfter(node.getStartPosition() + node.getLength(), ScopeAnalyzer.VARIABLES); |
| |||
[[#variable53e65000]]IBinding[] [[#variable53c8d940]]= (new ScopeAnalyzer( [[#variable55316d60]])).getDeclarationsInScope( [[#variable55316c20]].getStartPosition(), ScopeAnalyzer.VARIABLES); [[#variable53e65000]]IBinding[] [[#variable53e64f60]]= (new ScopeAnalyzer( [[#variable55316d60]])).getDeclarationsAfter( [[#variable55316c20]].getStartPosition() + [[#variable55316c20]].getLength(), ScopeAnalyzer.VARIABLES); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53e65000]] | |
1 | 2 | [[#53e65000]] | final |
1 | 3 | [[#53e65000]] | |
1 | 4 | [[#53e65000]] | |
2 | 1 | [[#53c8d940]] | varsBefore |
2 | 2 | [[#53c8d940]] | before |
2 | 3 | [[#53c8d940]] | varsBefore |
2 | 4 | [[#53c8d940]] | varsBefore |
3 | 1 | [[#55316d60]] | root |
3 | 2 | [[#55316d60]] | unit |
3 | 3 | [[#55316d60]] | root |
3 | 4 | [[#55316d60]] | root |
4 | 1 | [[#55316c20]] | node |
4 | 2 | [[#55316c20]] | fStatement |
4 | 3 | [[#55316c20]] | fOldForStatement |
4 | 4 | [[#55316c20]] | node |
5 | 1 | [[#53e64f60]] | varsAfter |
5 | 2 | [[#53e64f60]] | after |
5 | 3 | [[#53e64f60]] | varsAfter |
5 | 4 | [[#53e64f60]] | varsAfter |