Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.987 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 121 | Closure/closure/goog/testing/mockrandom.js |
2 | 4 | 150 | Closure/closure/goog/testing/pseudorandom.js |
| ||||
/** * Uninstalls the MockRandom. */ goog.testing.MockRandom.prototype.uninstall= function ( ) { if (this.installed_) { Math.random= this.mathRandom_; this.installed_= false; } } ; |
| ||||
/** * Uninstalls the PseudoRandom. */ goog.testing.PseudoRandom.prototype.uninstall= function ( ) { if (this.installed_) { Math.random= this.mathRandom_; this.installed_= false; } } ; |
| |||
/** * Uninstalls the MockRandom. */ /** * Uninstalls the PseudoRandom. */ goog.testing. [[#variable1f9401c0]].prototype.uninstall= function ( ) { if (this.installed_) { Math.random=this.mathRandom_; this.installed_= false; } } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1f9401c0]] | MockRandom |
1 | 2 | [[#1f9401c0]] | PseudoRandom |