Simple Test
Code Coverage Report
Created: 2016-06-22 10:03

Index | |

Source file:        I:\MyWork\SimpleTest\test\test.cpp

Binary files:       I:\MyWork\SimpleTest\test.elf
                    
                    Goto first zero count
Line No.
Count No.
Source
1
#include "../share/share.h"
2
using namespace test;
3
int bar(int);
4

5
1
int main(int argc, char ** argv) {
6
1
  int x = test::foo();
7
1.00k
  for (int i = 0; i < 1000; ++i) {
8
1.00k
    x *= 2;
9
1.00k
    x += 1;
10
1.00k
  }
11
1
  x += bar( x );
12
1
  if (x % 3) {
13
1
    x = x / 3;
14
1
    return x;
15
1
  }
16
0
  else {
17
0
    x = x * 2;
18
0
    return x;
19
0
  }
20
1
  
21
1
}



Generated by llvm-cov.exe -- llvm version 3.8.1