-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlinx Serialization annotation line included in the coverage report #686
Comments
Hi, |
@shanshin |
Similiar issue with android's @parcelize |
Confirming I have this issue too with |
@shanshin , we have this problem too! This is very disturbing. When is it planned to be fixed? |
Describe the bug
Recently, I updated the Kover version in my KMM project from 0.8.1 to 0.8.3, and I noticed my data classes annotated with
@Serializable
were not fully covered. The annotation line looks yellow in the HTML report, stating it is partially covered.I've tried excluding
"*.*serializer*"
from coverage report (as mentioned in some previous issue reported 1 or 2 years ago), but it didn't help.Errors
N/A
Expected behavior
Data class should be fully covered, ignoring the
@Serializable
annotation line. I don't want to exclude the whole data class to solve this issue, just the annotation part. Am I doing something wrong or Kover needs to consider updating itself after Kotlin 2.0 update (I'm using v2.0.20)?Reproducer
N/A
Reports
This is my data class in the Kover report:
This is the coverage summary:
Environment
The text was updated successfully, but these errors were encountered: