Skip to content

Conversation

@Godin
Copy link
Member

@Godin Godin commented Sep 23, 2025

@Godin Godin self-assigned this Sep 23, 2025
@Godin Godin added this to Filtering Sep 23, 2025
@github-project-automation github-project-automation bot moved this to Awaiting triage in Filtering Sep 23, 2025
@Godin Godin moved this from Awaiting triage to In Progress in Filtering Sep 23, 2025
@Godin Godin force-pushed the KotlinSafeCallOperatorFilter branch from 67ee009 to c5ab85e Compare September 23, 2025 10:51
@Godin Godin force-pushed the KotlinSafeCallOperatorFilter branch from c5ab85e to 26ff2fc Compare September 30, 2025 11:59
@Godin Godin added this to the 0.8.14 milestone Sep 30, 2025
@Godin Godin marked this pull request as ready for review October 5, 2025 21:56
@Godin Godin requested a review from leveretka October 5, 2025 21:56
Copy link
Collaborator

@leveretka leveretka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation seems to be correct, just a bit concerned about complexity of the if. Nothing too critical to not merge this PR fast as indeed it improves the Kotlin code coverage a lot!


/**
* @return non pseudo-instruction preceding given
* @return non pseudo-instruction preceding given iff it has given opcode,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is iff necessary here? It seems to me just if + otherwise is good enough explanation.

continue;
}
}
} else if (target.getType() != AbstractInsnNode.JUMP_INSN
Copy link
Collaborator

@leveretka leveretka Oct 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Complexity of this if chain is too high. Maybe you can split the logic somehow? This will make the code more readable.

@Godin Godin force-pushed the KotlinSafeCallOperatorFilter branch from 67530e1 to 17467da Compare October 6, 2025 22:20
@Godin Godin merged commit b0f8e23 into jacoco:master Oct 6, 2025
36 checks passed
@Godin Godin deleted the KotlinSafeCallOperatorFilter branch October 6, 2025 23:25
@github-project-automation github-project-automation bot moved this from In Progress to Done in Filtering Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants