Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.966 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 537 | Closure/closure/goog/testing/asynctestcase.js |
2 | 7 | 546 | Closure/closure/goog/testing/asynctestcase.js |
| ||||
_assert= function ( ) { /** @preserveTry */ try { self.origAssert_.apply(this, arguments); } catch ( e) { self.dbgLog_('Wrapping failed assert()'); self.doAsyncError(e); } } ; |
| ||||
fail= function ( ) { /** @preserveTry */ try { self.origFail_.apply(this, arguments); } catch ( e) { self.dbgLog_('Wrapping fail()'); self.doAsyncError(e); } } ; |
| |||
[[#variable481363e0]]= function ( ) { /** @preserveTry */ try { self. [[#variable48136380]].apply(this,arguments); } catch (e) { self.dbgLog_( [[#variable481362c0]]); self.doAsyncError(e); } } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#481363e0]] | fail |
1 | 2 | [[#481363e0]] | _assert |
2 | 1 | [[#48136380]] | origFail_ |
2 | 2 | [[#48136380]] | origAssert_ |
3 | 1 | [[#481362c0]] | 'Wrapping fail()' |
3 | 2 | [[#481362c0]] | 'Wrapping failed assert()' |