| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 2 | 0.986 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 101 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InternalASTRewrite.java |
| 2 | 9 | 111 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InternalASTRewrite.java |
| ||||
{
PropertyLocation propertyLocation = this.eventStore.getPropertyLocation(source, RewriteEventStore.ORIGINAL);
CopySourceInfo sourceInfo =
this.eventStore.markAsCopySource(
propertyLocation.getParent(),
propertyLocation.getProperty(),
source,
false );
this.nodeStore.markAsCopyTarget(newChild, sourceInfo);
}
|
| ||||
{
PropertyLocation propertyLocation = this.eventStore.getPropertyLocation(newChild, RewriteEventStore.ORIGINAL);
CopySourceInfo sourceInfo =
this.eventStore.markAsCopySource(
propertyLocation.getParent(),
propertyLocation.getProperty(),
newChild,
true );
this.nodeStore.markAsCopyTarget(newChild, sourceInfo);
}
|
| |||
{
PropertyLocation propertyLocation = this.eventStore.getPropertyLocation( [[#variableba448d80]], RewriteEventStore.ORIGINAL);
CopySourceInfo sourceInfo = this.eventStore.markAsCopySource(propertyLocation.getParent(), propertyLocation.getProperty(), [[#variableba448d80]], [[#variableba4485a0]]);
this.nodeStore.markAsCopyTarget(newChild, sourceInfo);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#ba448d80]] | source |
| 1 | 2 | [[#ba448d80]] | newChild |
| 2 | 1 | [[#ba4485a0]] | false |
| 2 | 2 | [[#ba4485a0]] | true |