Skip to content

Coverage should be calculated without optimizations#536

Merged
randombit merged 1 commit intorandombit:masterfrom
Rohde-Schwarz:coverage-without-opts
Jul 17, 2016
Merged

Coverage should be calculated without optimizations#536
randombit merged 1 commit intorandombit:masterfrom
Rohde-Schwarz:coverage-without-opts

Conversation

@neusdan
Copy link
Contributor

@neusdan neusdan commented Jul 14, 2016

otherwise the report is unprecise.

Also described here:
https://gcc.gnu.org/onlinedocs/gcc/Gcov-and-Optimization.html

...if you want to prove that every single line in your program was executed, you should not compile with optimization at the same time.

@codecov-io
Copy link

codecov-io commented Jul 14, 2016

Current coverage is 82.04%

Merging #536 into master will decrease coverage by 0.03%

@@             master       #536   diff @@
==========================================
  Files           307        307           
  Lines         23537      27173   +3636   
  Methods           0          0           
  Messages          0          0           
  Branches         51         51           
==========================================
+ Hits          19321      22295   +2974   
- Misses         4191       4853    +662   
  Partials         25         25           

Powered by Codecov. Last updated by b3bc80d...3572799

@randombit randombit merged commit 3572799 into randombit:master Jul 17, 2016
@neusdan neusdan deleted the coverage-without-opts branch March 28, 2017 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants