1 |
|
2 | if (typeof _$jscoverage === 'undefined') _$jscoverage = {};
|
3 | if (! _$jscoverage['hardcoded-method.js']) {
|
4 | _$jscoverage['hardcoded-method.js'] = [];
|
5 | _$jscoverage['hardcoded-method.js'][8] = 0;
|
6 | _$jscoverage['hardcoded-method.js'][19] = 0;
|
7 | _$jscoverage['hardcoded-method.js'][23] = 0;
|
8 | _$jscoverage['hardcoded-method.js'][31] = 0;
|
9 | _$jscoverage['hardcoded-method.js'][38] = 0;
|
10 | _$jscoverage['hardcoded-method.js'][39] = 0;
|
11 | _$jscoverage['hardcoded-method.js'][43] = 0;
|
12 | _$jscoverage['hardcoded-method.js'][44] = 0;
|
13 | _$jscoverage['hardcoded-method.js'][47] = 0;
|
14 | _$jscoverage['hardcoded-method.js'][48] = 0;
|
15 | _$jscoverage['hardcoded-method.js'][53] = 0;
|
16 | _$jscoverage['hardcoded-method.js'][54] = 0;
|
17 | _$jscoverage['hardcoded-method.js'][57] = 0;
|
18 | _$jscoverage['hardcoded-method.js'][58] = 0;
|
19 | _$jscoverage['hardcoded-method.js'][61] = 0;
|
20 | _$jscoverage['hardcoded-method.js'][62] = 0;
|
21 | _$jscoverage['hardcoded-method.js'][67] = 0;
|
22 | _$jscoverage['hardcoded-method.js'][68] = 0;
|
23 | _$jscoverage['hardcoded-method.js'][71] = 0;
|
24 | _$jscoverage['hardcoded-method.js'][72] = 0;
|
25 | _$jscoverage['hardcoded-method.js'][75] = 0;
|
26 | _$jscoverage['hardcoded-method.js'][76] = 0;
|
27 | _$jscoverage['hardcoded-method.js'][80] = 0;
|
28 | _$jscoverage['hardcoded-method.js'][81] = 0;
|
29 | _$jscoverage['hardcoded-method.js'][82] = 0;
|
30 | }
|
31 | _$jscoverage['hardcoded-method.js'][8]++;
|
32 | f();
|
33 | _$jscoverage['hardcoded-method.js'][19]++;
|
34 | g();
|
35 | _$jscoverage['hardcoded-method.js'][23]++;
|
36 | f();
|
37 | _$jscoverage['hardcoded-method.js'][31]++;
|
38 | g();
|
39 | _$jscoverage['hardcoded-method.js'][38]++;
|
40 | do {
|
41 | _$jscoverage['hardcoded-method.js'][39]++;
|
42 | 1;
|
43 | } while (true);
|
44 | _$jscoverage['hardcoded-method.js'][43]++;
|
45 | do {
|
46 | _$jscoverage['hardcoded-method.js'][44]++;
|
47 | 1;
|
48 | } while (false);
|
49 | _$jscoverage['hardcoded-method.js'][47]++;
|
50 | do {
|
51 | _$jscoverage['hardcoded-method.js'][48]++;
|
52 | f();
|
53 | } while (false);
|
54 | _$jscoverage['hardcoded-method.js'][53]++;
|
55 | for (var i = 0;; i++) {
|
56 | _$jscoverage['hardcoded-method.js'][54]++;
|
57 | f();
|
58 | }
|
59 | _$jscoverage['hardcoded-method.js'][57]++;
|
60 | for (var i = 0; false; i++) {
|
61 | _$jscoverage['hardcoded-method.js'][58]++;
|
62 | f();
|
63 | }
|
64 | _$jscoverage['hardcoded-method.js'][61]++;
|
65 | for (var i = 0; false; i++) {
|
66 | _$jscoverage['hardcoded-method.js'][62]++;
|
67 | f();
|
68 | }
|
69 | _$jscoverage['hardcoded-method.js'][67]++;
|
70 | while (false) {
|
71 | _$jscoverage['hardcoded-method.js'][68]++;
|
72 | f();
|
73 | }
|
74 | _$jscoverage['hardcoded-method.js'][71]++;
|
75 | while (true) {
|
76 | _$jscoverage['hardcoded-method.js'][72]++;
|
77 | f();
|
78 | }
|
79 | _$jscoverage['hardcoded-method.js'][75]++;
|
80 | while (true) {
|
81 | _$jscoverage['hardcoded-method.js'][76]++;
|
82 | f();
|
83 | }
|
84 | _$jscoverage['hardcoded-method.js'][80]++;
|
85 | f = function () {
|
86 | _$jscoverage['hardcoded-method.js'][81]++;
|
87 | return 5;
|
88 | _$jscoverage['hardcoded-method.js'][82]++;
|
89 | after();
|
90 | };
|
91 | _$jscoverage['hardcoded-method.js'].source = ["","// are there more kinds of expressions like this that should be tested?","if (false) {"," f();","}","","if (1) {"," f();","}","","if (0) {"," f();","}","","","if (false) {"," f();","} else {"," g();","}","","if (1) {"," f();","} else {"," g();","}","","if (0) {"," f();","} else {"," g();","}","","","","","","do {"," 1","} while (2);","","","do {"," 1","} while (0);","","do {"," f();","} while (false);","","","","for ( var i=0; 2; i++ ) {"," f();","}","","for ( var i=0; 0; i++ ) {"," f();","}","","for ( var i=0; false; i++ ) {"," f();","}","","","","while (0) {"," f();","}","","while (true) {"," f();","}","","while (5) {"," f();","}","","","f = function() {"," return 5;"," after();","};"]; |
\ | No newline at end of file |