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

New rule to check if @Preview (Jetpack Compose) functions end with 'Preview' suffix and are also private. Part 1 #1726

Merged
merged 6 commits into from
Sep 1, 2023

WIP

491724e
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/project succeeded Sep 1, 2023 in 0s

78.22% (+0.02%) compared to 6d7f952

View this Pull Request on Codecov

78.22% (+0.02%) compared to 6d7f952

Details

Codecov Report

Merging #1726 (491724e) into master (6d7f952) will increase coverage by 0.02%.
The diff coverage is 82.50%.

@@             Coverage Diff              @@
##             master    #1726      +/-   ##
============================================
+ Coverage     78.20%   78.22%   +0.02%     
- Complexity     2312     2320       +8     
============================================
  Files           125      126       +1     
  Lines          8158     8198      +40     
  Branches       2061     2065       +4     
============================================
+ Hits           6380     6413      +33     
- Misses          874      877       +3     
- Partials        904      908       +4     
Files Changed Coverage Δ
...at/ruleset/rules/chapter3/PreviewAnnotationRule.kt 81.57% <81.57%> (ø)
...m/saveourtool/diktat/ruleset/constants/Warnings.kt 97.48% <100.00%> (+0.01%) ⬆️
...l/diktat/ruleset/rules/DiktatRuleSetFactoryImpl.kt 100.00% <100.00%> (ø)