Skip to content

Overall coverage decreased. #393

@ppllaxxa

Description

@ppllaxxa

Hello,

We just updated our project:

  1. scala 2.12 -> 2.13
  2. java 1.8 -> 17
  3. sbt-jacoco 3.1.0 -> 3.4.0
  4. sbt 1,5 -> 1.10.11

Our overall coverage descreased from 72% to 63%, Coverage on lines remains the same. I understood that new jacoco version has more accurate algorythm to calculate coverage (brnaches). But we also figured out that now it is not filtering out:

  • "synthetic methods from Scala case classes"
  • "Plain getters and setters"

Which should be filtered out based on JaCoCo wiki - https://github.com/jacoco/jacoco/wiki/FilteringOptions

Could you please suggest what is wrong here? Maybe we should run 'jacoco' command with some flags?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions