# Coverage report problems

**URL:** <https://discourse.julialang.org/t/coverage-report-problems/59133>\
**Category:** General Usage\
**Created:** [April 12, 2021, 9:34pm UTC](https://discourse.julialang.org/t/coverage-report-problems/59133 "2021-04-12T21:34:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [April 12, 2021, 9:34pm UTC](https://discourse.julialang.org/t/coverage-report-problems/59133/1 "2021-04-12T21:34:13Z")

</div>

Hi!

A looong time ago, I opened this issue about wrong coverage report by Julia:

> <https://github.com/JuliaCI/Coverage.jl/issues/187>
>
> Hi guys!
> 
> After the new version of Coverage, the coverage information does not… seem to be right. Take a look, for example, at the function \`compose\_rotation\` here:
> 
> https://coveralls.io/builds/19787299/source?filename=src/compose\_rotations.jl#L53
> 
> It says that it is not tested at all. However, take a look at the test here:
> 
> https://github.com/JuliaSpace/ReferenceFrameRotations.jl/blob/6fd8162b51958ed809fe36c268eb11bd0a506a43/test/test\_compose\_rotations\_quaternions.jl#L49
> 
> The last version of Coverage was saying that \[ReferenceFrameRotations.jl\](https://github.com/JuliaSpace/ReferenceFrameRotations.jl) has a coverage of 100% and now it is 74%.
> 
> Notice that the same thing happened with Codecov.

about wrong coverage report by Julia. By that time, passing `--inline=no` to Julia would fix some problems. However, we needed a patch to Pkg.jl to make it available during the tests. This was done here:

> <https://github.com/JuliaLang/Pkg.jl/pull/870>
>
> This is meant as an alternative to PR #866 for resolving issue #865

With Julia 1.6.0, I still see weird things even with `--inline=no`. Check for example this report:

 ![Captura de Tela 2021-04-12 às 18.33.18](https://global.discourse-cdn.com/julialang/original/3X/7/1/71c0e0622eb39548401237516a2fe76b8391e09d.png)

Question: Is there any way to improve this?
