Comments (1)
Gcovr does not understand your code, it just reports coverage results. So if your compiler with the optimizations you have chosen emits an extra fall-through branch because it cannot recognize that one of the cases must apply, that's an issue with the compiler and not with gcovr.
Note that gcc/gcov thinks about coverage in terms of machine code instructions, not in terms of language-level control flow constructs. The coverage results tend to get confused with inlined functions, optimizations, and C++ destructors.
from gcovr.
Related Issues (20)
- Add Per Function Branch Coverage Metric HOT 1
- An error about lambda was reported when executing gcovr HOT 6
- Exclude options are confusing HOT 2
- gcovr suggests --merge-mode-functions=MERGE_MODE even though it was invoked with --merge-mode-functions=merge-use-line-min HOT 1
- source file is newer than notes file HOT 3
- Add support to the Atlassian Clover output format HOT 17
- Decisions coverage is not printed in JSON summary HOT 3
- Update PyPi Frequency HOT 2
- `master` branch docs are out of date HOT 2
- Read configuration from `pyproject.toml` HOT 4
- UnknownLineType thrown when parsing coverage data from 10K+ line file HOT 3
- Unrecognized GCOV output in Debian Trixie HOT 1
- Gcovr fails with hyphen in path HOT 5
- Include multiple coverage reports in html with different coloring HOT 1
- pytest fails collecting with CC=x86_64-pc-linux-gnu-cc HOT 7
- Abnormal high line coverage on a function HOT 6
- "Unrecognized GCOV output" error when function tag line contains NAN
- Erroneous deprecation warning HOT 1
- Add support for GCC 14 condition coverage (MC/DC) HOT 3
- Gcovr output coverage rate does not match codecov reports rate HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcovr.