Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.957 | StatementList[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 146 | Closure/closure/goog/editor/range.js |
2 | 2 | 260 | Closure/closure/goog/testing/editor/dom.js |
| ||||
var node= expandStart ? range.getStartNode( ) : range.getEndNode( ); var offset= expandStart ? range.getStartOffset( ) : range.getEndOffset( ); |
| ||||
var endpointNode= isBefore ? range.getStartNode( ) : range.getEndNode( ); var endpointOffset= isBefore ? range.getStartOffset( ) : range.getEndOffset( ); |
| |||
var [[#variable20c3f3a0]]= [[#variable20c3f3c0]] ?range.getStartNode( ) :range.getEndNode( ); var [[#variable20c3f400]]= [[#variable20c3f3c0]] ?range.getStartOffset( ) :range.getEndOffset( ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20c3f3a0]] | endpointNode |
1 | 2 | [[#20c3f3a0]] | node |
2 | 1 | [[#20c3f3c0]] | isBefore |
2 | 2 | [[#20c3f3c0]] | expandStart |
3 | 1 | [[#20c3f400]] | endpointOffset |
3 | 2 | [[#20c3f400]] | offset |