| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 1 | 0.990 | StatementList[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 148 | Closure/closure/goog/format/jsonprettyprinter.js |
| 2 | 6 | 181 | Closure/closure/goog/format/jsonprettyprinter.js |
| ||||
if (i> 0) {
// There are multiple elements, add a comma to separate them.
outputBuffer.append(this.delimiters_.propertySeparator);
}
outputBuffer.append(this.delimiters_.lineBreak);
this.printSpaces_(indent+ this.delimiters_.indent, outputBuffer);
|
| ||||
if (propertyCount> 0) {
// There are multiple properties, add a comma to separate them.
outputBuffer.append(this.delimiters_.propertySeparator);
}
outputBuffer.append(this.delimiters_.lineBreak);
this.printSpaces_(indent+ this.delimiters_.indent, outputBuffer);
|
| |||
if ( [[#variable432a8380]]>0)
{
// There are multiple properties, add a comma to separate them.
// There are multiple elements, add a comma to separate them.
outputBuffer.append(this.delimiters_.propertySeparator);
}
outputBuffer.append(this.delimiters_.lineBreak);
this.printSpaces_(indent+this.delimiters_.indent,outputBuffer);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#432a8380]] | propertyCount |
| 1 | 2 | [[#432a8380]] | i |