fix(#353): Consider Inner Blocks During Statements Scan #354
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this PR, I fixed the problem related to missed assertions. The problem occurred when we had inner blocks with inner statements. Now we consider all statements.
Closes: #353.
History:
RuleAssertionMessage
ignores the assertion inside the loop #353): identify the problemRuleAssertionMessage
ignores the assertion inside the loop #353): add one more unit testRuleAssertionMessage
ignores the assertion inside the loop #353): suggest ugly solutionRuleAssertionMessage
ignores the assertion inside the loop #353): simplify the solutionRuleAssertionMessage
ignores the assertion inside the loop #353): fix all qulice suggestionsPR-Codex overview
The focus of this PR is to enhance Java test parsing capabilities by adding support for assertions inside loops.
Detailed summary
JavaParserMethod
class to unroll inner method statements