Lukas Atkinson

Results 74 comments of Lukas Atkinson

Yes you can do this, by adding a `--filter` that matches the path outside of your project. In some cases, it can also make sense to have a project `--root`...

> Can we assume that the last branch is the branch for the `default`? On GCC with `-O0` probably yes, because the compiler is not deliberately trying to be antagonistic...

I'm one of the gcovr maintainers, but am unaffiliated with the gcovr-action in this repository. You're correct that changing the working directory can lead to weird situations, because the `search_paths`...

Something like `--decisions-as-branches` could indeed make sense, as decision-coverage is in many ways a more human-friendly alternative to branch-coverage. In formats like HTML and TXT, the data could be labeled...

Hi @chandryan. It seems you're right, and I have misread the source code. The `DecisionParser` is used under all circumstances whenever `--decisions` is requested. There was some wishful thinking on...

I recently stumbled across the same issue with the `poetry --project` option. @abn kindly tried to fix this in the Poetry code that pre-processes arguments before passing them to Poetry,...

> if we shall always add the excluded counts to the reports The problem here is that "excluded" items can have two meanings: * there is no code here (e.g....

> I was only thinking about the lines and branches excluded by comments … In my opinion the `noncode` and `unreachable` should still be removed. I think that sounds reasonable....

> There is still the question if we shall use a option or we add this info to the report where possible. > I would would for the second approach....

Seeing the same problem on Linux. As a workaround, running under the `LC_ALL=C.UTF-8` environment variable works.