| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 3 | 2 | 0.979 | FunctionDeclaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 70 | Closure/closure/goog/editor/seamlessfield_test.js |
| 2 | 5 | 78 | Closure/closure/goog/editor/seamlessfield_test.js |
| 3 | 5 | 86 | Closure/closure/goog/editor/seamlessfield_test.js |
| ||||
function testFieldWithPadding( ){
if (!goog.editor.BrowserFeature.HAS_CONTENT_EDITABLE) {
assertAttachSeamlessIframeSizesCorrectly(
initSeamlessField('Hi!', { 'padding': '2px 5px' } ),
createSeamlessIframe( ));
}
}
|
| ||||
function testFieldWithMargin( ){
if (!goog.editor.BrowserFeature.HAS_CONTENT_EDITABLE) {
assertAttachSeamlessIframeSizesCorrectly(
initSeamlessField('Hi!', { 'margin': '2px 5px' } ),
createSeamlessIframe( ));
}
}
|
| ||||
function testFieldWithBorder( ){
if (!goog.editor.BrowserFeature.HAS_CONTENT_EDITABLE) {
assertAttachSeamlessIframeSizesCorrectly(
initSeamlessField('Hi!', { 'border': '2px 5px' } ),
createSeamlessIframe( ));
}
}
|
| |||
function [[#variable43ea94e0]]( )
{ if (!goog.editor.BrowserFeature.HAS_CONTENT_EDITABLE)
{ assertAttachSeamlessIframeSizesCorrectly(initSeamlessField('Hi!', { [[#variable43ea94c0]]: '2px 5px' } ),createSeamlessIframe( ));
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#43ea94e0]] | testFieldWithBorder |
| 1 | 2 | [[#43ea94e0]] | testFieldWithMargin |
| 1 | 3 | [[#43ea94e0]] | testFieldWithPadding |
| 2 | 1 | [[#43ea94c0]] | 'border' |
| 2 | 2 | [[#43ea94c0]] | 'margin' |
| 2 | 3 | [[#43ea94c0]] | 'padding' |