CloneSet321


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3540.951StatementList[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1321
Closure/third_party/closure/goog/dojo/dom/query_test.js
2329
Closure/third_party/closure/goog/dojo/dom/query_test.js
3358
Closure/third_party/closure/goog/dojo/dom/query_test.js
4368
Closure/third_party/closure/goog/dojo/dom/query_test.js
53118
Closure/third_party/closure/goog/dojo/dom/query_test.js
Clone Instance
1
Line Count
3
Source Line
21
Source File
Closure/third_party/closure/goog/dojo/dom/query_test.js

  assertQuery(1, 'h1:first-child');
  assertQuery(2, 'h3:first-child');
  assertQuery(1, '#t');


Clone Instance
2
Line Count
3
Source Line
29
Source File
Closure/third_party/closure/goog/dojo/dom/query_test.js

  assertQuery(1, '#t div > h3');
  assertQuery(2, '.foo');
  assertQuery(1, '.foo.bar');


Clone Instance
3
Line Count
3
Source Line
58
Source File
Closure/third_party/closure/goog/dojo/dom/query_test.js

  // multiple class attribute
  assertQuery(1, '.foo.bar');
  assertQuery(2, '.foo');
  assertQuery(2, '.baz');


Clone Instance
4
Line Count
3
Source Line
68
Source File
Closure/third_party/closure/goog/dojo/dom/query_test.js

  assertQuery(1, '[class = "foo bar"]');
  assertQuery(2, '[foo~="bar"]');
  assertQuery(2, '[ foo ~= "bar" ]');


Clone Instance
5
Line Count
3
Source Line
118
Source File
Closure/third_party/closure/goog/dojo/dom/query_test.js

  assertQuery(1, '#t h3:nth-child(2n+3)');
  assertQuery(2, '#t h3:nth-child(1)');
  assertQuery(1, '#t > h3:nth-child(1)');


Clone AbstractionParameter Count: 4Parameter Bindings

// multiple class attribute
assertQuery(1, [[#variable5d371aa0]]);
assertQuery(2, [[#variable5d371a60]]);
assertQuery( [[#variable568a7c40]], [[#variable59ea8a00]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5d371aa0]]
'.foo.bar' 
12[[#5d371aa0]]
'#t h3:nth-child(2n+3)' 
13[[#5d371aa0]]
'[class = "foo bar"]' 
14[[#5d371aa0]]
'#t div > h3' 
15[[#5d371aa0]]
'h1:first-child' 
21[[#5d371a60]]
'.foo' 
22[[#5d371a60]]
'#t h3:nth-child(1)' 
23[[#5d371a60]]
'[foo~="bar"]' 
24[[#5d371a60]]
'.foo' 
25[[#5d371a60]]
'h3:first-child' 
31[[#568a7c40]]
2 
32[[#568a7c40]]
1 
33[[#568a7c40]]
2 
34[[#568a7c40]]
1 
35[[#568a7c40]]
1 
41[[#59ea8a00]]
'.baz' 
42[[#59ea8a00]]
'#t > h3:nth-child(1)' 
43[[#59ea8a00]]
'[ foo ~= "bar" ]' 
44[[#59ea8a00]]
'.foo.bar' 
45[[#59ea8a00]]
'#t'