Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 4 | 3 | 0.968 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 134 | Closure/closure/goog/net/tmpnetwork.js |
2 | 7 | 143 | Closure/closure/goog/net/tmpnetwork.js |
3 | 7 | 152 | Closure/closure/goog/net/tmpnetwork.js |
4 | 7 | 161 | Closure/closure/goog/net/tmpnetwork.js |
| ||||
img.onload= function ( ) { try { channelDebug.debug('TestLoadImage: loaded'); goog.net.clearImageCallbacks_(img); callback( true); } catch ( e) { channelDebug.dumpException(e); } } ; |
| ||||
img.onerror= function ( ) { try { channelDebug.debug('TestLoadImage: error'); goog.net.clearImageCallbacks_(img); callback( false); } catch ( e) { channelDebug.dumpException(e); } } ; |
| ||||
img.onabort= function ( ) { try { channelDebug.debug('TestLoadImage: abort'); goog.net.clearImageCallbacks_(img); callback( false); } catch ( e) { channelDebug.dumpException(e); } } ; |
| ||||
img.ontimeout= function ( ) { try { channelDebug.debug('TestLoadImage: timeout'); goog.net.clearImageCallbacks_(img); callback( false); } catch ( e) { channelDebug.dumpException(e); } } ; |
| |||
img. [[#variable5633c420]]= function ( ) { try { channelDebug.debug( [[#variable62b679a0]]); goog.net.clearImageCallbacks_(img); callback( [[#variable3a7287c0]]); } catch (e) { channelDebug.dumpException(e); } } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5633c420]] | ontimeout |
1 | 2 | [[#5633c420]] | onabort |
1 | 3 | [[#5633c420]] | onerror |
1 | 4 | [[#5633c420]] | onload |
2 | 1 | [[#62b679a0]] | 'TestLoadImage: timeout' |
2 | 2 | [[#62b679a0]] | 'TestLoadImage: abort' |
2 | 3 | [[#62b679a0]] | 'TestLoadImage: error' |
2 | 4 | [[#62b679a0]] | 'TestLoadImage: loaded' |
3 | 1 | [[#3a7287c0]] | false |
3 | 2 | [[#3a7287c0]] | false |
3 | 3 | [[#3a7287c0]] | false |
3 | 4 | [[#3a7287c0]] | true |