Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 4 | 0.951 | StatementList[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 74 | Closure/third_party/closure/goog/dojo/dom/query_test.js |
2 | 3 | 115 | Closure/third_party/closure/goog/dojo/dom/query_test.js |
3 | 3 | 124 | Closure/third_party/closure/goog/dojo/dom/query_test.js |
| ||||
assertQuery(3, '[foo]'); assertQuery(1, '[foo$="thud"]'); assertQuery(1, '[foo$=thud]'); |
| ||||
assertQuery(3, '#t h3:nth-child(2n+1)'); assertQuery(1, '#t h3:nth-child(even)'); assertQuery(1, '#t h3:nth-child(2n)'); |
| ||||
assertQuery(3, '#t > *:nth-child(n+10)'); assertQuery(1, '#t > *:nth-child(n+12)'); assertQuery(10, '#t > *:nth-child(-n+10)'); |
| |||
assertQuery(3, [[#variable1fbd08c0]]); assertQuery(1, [[#variable1f254040]]); assertQuery( [[#variable1f254c40]], [[#variable1f254d00]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1fbd08c0]] | '#t > *:nth-child(n+10)' |
1 | 2 | [[#1fbd08c0]] | '#t h3:nth-child(2n+1)' |
1 | 3 | [[#1fbd08c0]] | '[foo]' |
2 | 1 | [[#1f254040]] | '#t > *:nth-child(n+12)' |
2 | 2 | [[#1f254040]] | '#t h3:nth-child(even)' |
2 | 3 | [[#1f254040]] | '[foo$="thud"]' |
3 | 1 | [[#1f254c40]] | 10 |
3 | 2 | [[#1f254c40]] | 1 |
3 | 3 | [[#1f254c40]] | 1 |
4 | 1 | [[#1f254d00]] | '#t > *:nth-child(-n+10)' |
4 | 2 | [[#1f254d00]] | '#t h3:nth-child(2n)' |
4 | 3 | [[#1f254d00]] | '[foo$=thud]' |