Skip to content

Reduce LoopWithTooManyJumpStatements finding scope - #6110

Merged
cortinico merged 2 commits into
detekt:mainfrom
TWiStErRob:loop-keyword
May 20, 2023
Merged

cortinico merged 2 commits into
detekt:mainfrom
TWiStErRob:loop-keyword

Conversation

@TWiStErRob

Copy link
Copy Markdown
Member

Similar to other PRs where we reduced the scope.

Real life use case where it hides other warnings, and just plain huge yellow blob:
image

Contains a commit from #6107 + splits up the test cases before changing code.

@codecov

codecov Bot commented May 19, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #6110 (1d532a7) into main (f99ac58) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##               main    #6110      +/-   ##
============================================
- Coverage     84.89%   84.88%   -0.02%     
  Complexity     4022     4022              
============================================
  Files           569      569              
  Lines         13449    13457       +8     
  Branches       2371     2375       +4     
============================================
+ Hits          11418    11423       +5     
- Misses          871      872       +1     
- Partials       1160     1162       +2     
Impacted Files Coverage Δ
...etekt/rules/style/LoopWithTooManyJumpStatements.kt 87.09% <66.66%> (-8.56%) ⬇️

@cortinico cortinico added this to the 1.23.0 milestone May 20, 2023
@cortinico

Copy link
Copy Markdown
Member

@TWiStErRob can you rebase?

@cortinico
cortinico enabled auto-merge (squash) May 20, 2023 14:27
@cortinico
cortinico merged commit 67d2c72 into detekt:main May 20, 2023
@TWiStErRob
TWiStErRob deleted the loop-keyword branch May 20, 2023 15:08

This branch was successfully deployed

1 active deployment
Preview — 1d532a73 Deployed May 20, 2023 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants