Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.981 | StatementList[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 202 | Closure/closure/goog/graphics/path.js |
2 | 7 | 232 | Closure/closure/goog/graphics/path.js |
| ||||
var lastSegment= goog.array.peek(this.segments_); if (lastSegment== null) { throw Error('Path cannot start with lineTo'); } if (lastSegment!= goog.graphics.Path.Segment.LINETO) { this.segments_.push(goog.graphics.Path.Segment.LINETO); this.count_.push(0); } |
| ||||
var lastSegment= goog.array.peek(this.segments_); if (lastSegment== null) { throw Error('Path cannot start with curve'); } if (lastSegment!= goog.graphics.Path.Segment.CURVETO) { this.segments_.push(goog.graphics.Path.Segment.CURVETO); this.count_.push(0); } |
| |||
var lastSegment=goog.array.peek(this.segments_); if (lastSegment==null) { throw Error( [[#variable62d5b260]]); } if (lastSegment!=goog.graphics.Path.Segment. [[#variable62ed4800]]) { this.segments_.push(goog.graphics.Path.Segment. [[#variable62ed4800]]); this.count_.push(0); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62d5b260]] | 'Path cannot start with lineTo' |
1 | 2 | [[#62d5b260]] | 'Path cannot start with curve' |
2 | 1 | [[#62ed4800]] | LINETO |
2 | 2 | [[#62ed4800]] | CURVETO |