Description
Exclude auto-generated classes automatically instead of adding them to exclude
list, specifically: Lombok @Data
classes.
Repository
N/A
Versions
N/A
Additional Information
For example, Jacoco does this: https://www.rainerhahnekamp.com/en/ignoring-lombok-code-in-jacoco/
1 Like
Does that mean Constant classes are also ignore automatically? If that’s the case, this is so super cool.
Jacoco Reports for every class/file
- how many instructions/lines the file contains
- which of these instructions/lines are covered
If a file contains zero coverable instructions it’s completely ignored by codecov
@Data
class doesn’t seem to be getting ignored for me.

@larsgrefer
Any update on this? I don’t want to add explicit ignore rules for each @Data
class.
tom
#7
Hi @cueball, I’m not super familiar with Lombok, but would ignoring paths be useful for you? https://docs.codecov.io/docs/ignoring-paths