| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 4 | 1 | 0.982 | IfStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 512 | Closure/closure/goog/math/integer.js |
| 2 | 8 | 590 | Closure/closure/goog/math/integer.js |
| 3 | 8 | 543 | Closure/closure/goog/math/long.js |
| 4 | 8 | 631 | Closure/closure/goog/math/long.js |
| ||||
if (this.isNegative( )){
if (other.isNegative( )){
return this.negate( ).multiply(other.negate( ));
}
else {
return this.negate( ).multiply(other).negate( );
}
}
else if (other.isNegative( )){
return this.multiply(other.negate( )).negate( );
}
|
| ||||
if (this.isNegative( )){
if (other.isNegative( )){
return this.negate( ).divide(other.negate( ));
}
else {
return this.negate( ).divide(other).negate( );
}
}
else if (other.isNegative( )){
return this.divide(other.negate( )).negate( );
}
|
| ||||
if (this.isNegative( )){
if (other.isNegative( )){
return this.negate( ).multiply(other.negate( ));
}
else {
return this.negate( ).multiply(other).negate( );
}
}
else if (other.isNegative( )){
return this.multiply(other.negate( )).negate( );
}
|
| ||||
if (this.isNegative( )){
if (other.isNegative( )){
return this.negate( ).div(other.negate( ));
}
else {
return this.negate( ).div(other).negate( );
}
}
else if (other.isNegative( )){
return this.div(other.negate( )).negate( );
}
|
| |||
if (this.isNegative( ))
{ if (other.isNegative( ))
{ return this.negate( ). [[#variable571cf4c0]](other.negate( ));
}
else
{ return this.negate( ). [[#variable571cf4c0]](other).negate( );
}
}
else
if (other.isNegative( ))
{ return this. [[#variable571cf4c0]](other.negate( )).negate( );
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#571cf4c0]] | divide |
| 1 | 2 | [[#571cf4c0]] | multiply |
| 1 | 3 | [[#571cf4c0]] | div |
| 1 | 4 | [[#571cf4c0]] | multiply |