Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.963 | IfStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 269 | Closure/closure/goog/structs/avltree.js |
2 | 4 | 365 | Closure/closure/goog/structs/avltree.js |
| ||||
if (this.comparator_(node.value, value)< 0){ retNode= node.right; } else { isContained= true; } |
| ||||
if (this.comparator_(node.value, opt_startValue)< 0){ retNode= node.right; } else { startNode= node; } |
| |||
if (this.comparator_(node.value, [[#variable202a96c0]])<0) { retNode=node.right; } else { [[#variable202a95a0]]= [[#variable202a9420]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#202a96c0]] | opt_startValue |
1 | 2 | [[#202a96c0]] | value |
2 | 1 | [[#202a95a0]] | startNode |
2 | 2 | [[#202a95a0]] | isContained |
3 | 1 | [[#202a9420]] | node |
3 | 2 | [[#202a9420]] | true |