Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.958 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 195 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/ConditionalFlowInfo.java |
2 | 10 | 206 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/ConditionalFlowInfo.java |
| ||||
public UnconditionalFlowInfo unconditionalCopy() { return initsWhenTrue.unconditionalCopy(). mergedWith(initsWhenFalse.unconditionalInits()); } public UnconditionalFlowInfo unconditionalFieldLessCopy() { return initsWhenTrue.unconditionalFieldLessCopy(). mergedWith(initsWhenFalse.unconditionalFieldLessCopy()); // should never happen, hence suboptimal does not hurt } |
| ||||
public UnconditionalFlowInfo unconditionalInits() { return initsWhenTrue.unconditionalInits(). mergedWith(initsWhenFalse.unconditionalInits()); } public UnconditionalFlowInfo unconditionalInitsWithoutSideEffect() { // cannot do better here than unconditionalCopy - but still a different // operation for UnconditionalFlowInfo return initsWhenTrue.unconditionalCopy(). mergedWith(initsWhenFalse.unconditionalInits()); } |
| |||
public UnconditionalFlowInfo [[#variable5c9a98c0]]() { return initsWhenTrue. [[#variable5c9a98c0]]().mergedWith(initsWhenFalse.unconditionalInits()); } public UnconditionalFlowInfo [[#variable5c9a9880]]() { // cannot do better here than unconditionalCopy - but still a different // operation for UnconditionalFlowInfo return initsWhenTrue. [[#variable5c83a4a0]]().mergedWith(initsWhenFalse. [[#variable5c9a9860]]()); // should never happen, hence suboptimal does not hurt } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5c9a98c0]] | unconditionalCopy |
1 | 2 | [[#5c9a98c0]] | unconditionalInits |
2 | 1 | [[#5c9a9880]] | unconditionalFieldLessCopy |
2 | 2 | [[#5c9a9880]] | unconditionalInitsWithoutSideEffect |
3 | 1 | [[#5c83a4a0]] | unconditionalFieldLessCopy |
3 | 2 | [[#5c83a4a0]] | unconditionalCopy |
4 | 1 | [[#5c9a9860]] | unconditionalFieldLessCopy |
4 | 2 | [[#5c9a9860]] | unconditionalInits |