Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.978 | StatementList[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 160 | Closure/closure/goog/format/jsonprettyprinter.js |
2 | 6 | 197 | Closure/closure/goog/format/jsonprettyprinter.js |
| ||||
// If there are no properties in this object, don't put a line break // between the beginning "[" and ending "]", so the output of an empty // array looks like <code>[]</code>. if (i> 0) { outputBuffer.append(this.delimiters_.lineBreak); this.printSpaces_(indent, outputBuffer); } outputBuffer.append(this.delimiters_.arrayEnd); break; |
| ||||
// If there are no properties in this object, don't put a line break // between the beginning "{" and ending "}", so the output of an empty // object looks like <code>{}</code>. if (propertyCount> 0) { outputBuffer.append(this.delimiters_.lineBreak); this.printSpaces_(indent, outputBuffer); } outputBuffer.append(this.delimiters_.objectEnd); break; |
| |||
// If there are no properties in this object, don't put a line break // between the beginning "[" and ending "]", so the output of an empty // array looks like <code>[]</code>. // between the beginning "{" and ending "}", so the output of an empty // object looks like <code>{}</code>. if ( [[#variable633ff900]]>0) { outputBuffer.append(this.delimiters_.lineBreak); this.printSpaces_(indent,outputBuffer); } outputBuffer.append(this.delimiters_. [[#variable633ffc20]]); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#633ff900]] | i |
1 | 2 | [[#633ff900]] | propertyCount |
2 | 1 | [[#633ffc20]] | arrayEnd |
2 | 2 | [[#633ffc20]] | objectEnd |