• Home
  • Raw
  • Download

Lines Matching full:line

1 // Basic handling of line counts.
4 // before any coverage // WHOLE-FILE: | [[@LINE]]|// before
5 // FILTER-NOT: | [[@LINE-1]]|// before
6 int main() { // TEXT: 161| [[@LINE]]|int main( in main()
7 int x = 0; // TEXT: 161| [[@LINE]]| int x in main()
8 // TEXT: 161| [[@LINE]]| in main()
9 if (x) { // TEXT: 0| [[@LINE]]| if (x) in main()
10 x = 0; // TEXT: 0| [[@LINE]]| x = 0 in main()
11 } else { // TEXT: 161| [[@LINE]]| } else in main()
12 x = 1; // TEXT: 161| [[@LINE]]| x = 1 in main()
13 } // TEXT: 161| [[@LINE]]| } in main()
14 // TEXT: 161| [[@LINE]]| in main()
15 for (int i = 0; i < 100; ++i) { // TEXT: 16.2k| [[@LINE]]| for ( in main()
16 x = 1; // TEXT: 16.1k| [[@LINE]]| x = 1 in main()
17 } // TEXT: 16.1k| [[@LINE]]| } in main()
18 // TEXT: 161| [[@LINE]]| in main()
19 x = x < 10 ? x + 1 : x - 1; // TEXT: 161| [[@LINE]]| x = in main()
20 x = x > 10 ? // TEXT: 161| [[@LINE]]| x = in main()
21 x - 1: // TEXT: 0| [[@LINE]]| x in main()
22 x + 1; // TEXT: 161| [[@LINE]]| x in main()
23 // TEXT: 161| [[@LINE]]| in main()
24 return 0; // TEXT: 161| [[@LINE]]| return in main()
25 } // TEXT: 161| [[@LINE]]|} in main()
26 // after coverage // WHOLE-FILE: | [[@LINE]]|// after
27 // FILTER-NOT: | [[@LINE-1]]|// after
48 // HTML-WHOLE-FILE: <td class='uncovered-line'></td><td class='line-number'><pre>[[@LINE-44]]</pre>…
49 // HTML-FILTER-NOT: <td class='uncovered-line'></td><td class='line-number'><pre>[[@LINE-45]]</pre>…
50 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
51 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
52 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
53 // HTML: <td class='uncovered-line'><pre>0</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
54 // HTML: <td class='uncovered-line'><pre>0</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
55 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
56 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
57 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
58 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
59 // HTML: <td class='covered-line'><pre>16.2k</pre></td><td class='line-number'><pre>[[@LINE-44]]</p…
60 // HTML: <td class='covered-line'><pre>16.1k</pre></td><td class='line-number'><pre>[[@LINE-44]]</p…
61 // HTML: <td class='covered-line'><pre>16.1k</pre></td><td class='line-number'><pre>[[@LINE-44]]</p…
62 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
63 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
64 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
65 // HTML: <td class='uncovered-line'><pre>0</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
66 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
67 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
68 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
69 // HTML: <td class='covered-line'><pre>161</pre></td><td class='line-number'><pre>[[@LINE-44]]</pre…
70 // HTML-WHOLE-FILE: <td class='uncovered-line'></td><td class='line-number'><pre>[[@LINE-44]]</pre>…
71 // HTML-FILTER-NOT: <td class='uncovered-line'></td><td class='line-number'><pre>[[@LINE-45]]</pre>…