Skip to content

Add functions to ExitOutsideMain rule - #5963

Merged
cortinico merged 1 commit into
mainfrom
ExitOutsideMain
Apr 5, 2023
Merged

Add functions to ExitOutsideMain rule#5963
cortinico merged 1 commit into
mainfrom
ExitOutsideMain

Conversation

@schalkms

@schalkms schalkms commented Apr 4, 2023

Copy link
Copy Markdown
Member

The following are also considered to be "exit"-functions.

  • Runtime.exit()
  • Runtime.halt()

That's the reason for adding them to be flagged by this rule.

The following are also considered to be "exit"-functions.
* Runtime.exit()
* Runtime.halt()

That's the reason for adding them to be flagged by this rule.
@github-actions github-actions Bot added the rules label Apr 4, 2023
@codecov

codecov Bot commented Apr 4, 2023

Copy link
Copy Markdown

Codecov Report

Merging #5963 (aa2e447) into main (221d701) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #5963      +/-   ##
============================================
+ Coverage     84.48%   84.50%   +0.01%     
- Complexity     3788     3790       +2     
============================================
  Files           546      546              
  Lines         12937    12942       +5     
  Branches       2275     2275              
============================================
+ Hits          10930    10936       +6     
  Misses          877      877              
+ Partials       1130     1129       -1     
Impacted Files Coverage Δ
...ab/arturbosch/detekt/rules/bugs/ExitOutsideMain.kt 88.88% <100.00%> (+11.96%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@BraisGabin BraisGabin added this to the 1.23.0 milestone Apr 4, 2023
@cortinico
cortinico merged commit 9c86a81 into main Apr 5, 2023
@cortinico
cortinico deleted the ExitOutsideMain branch April 5, 2023 06:01
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