Skip to content
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

Avoid instrumenting synthetic methods #1156

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

hcoles
Copy link
Owner

@hcoles hcoles commented Feb 22, 2023

Coverage was being generated for synthetic methods, artificially inflating the number of covered lines for some kotlin classes. This change prevents probes from being inserting into them, duplicating the logic use elsewhere to ensure that lambda implementations still have probes, despite their synthetic flag.

Coverage was being generated for synthetic methods, artificially
inflating the number of covered lines for some kotlin classes. This
change prevents probes from being inserting into them, duplicating the
logic use elsewhere to ensure that lambda implementations still have
probes, despite their synthetic flag.
@hcoles hcoles force-pushed the feature/kotlin_line_double_count branch from f8f4a6b to 6f1033f Compare February 22, 2023 21:59
@hcoles hcoles merged commit 4d593e9 into master Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant