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

Refactor and clean up IndentationRule #1470

Merged

Conversation

@codecov
Copy link

codecov bot commented Jul 21, 2022

Codecov Report

Merging #1470 (73365d4) into master (a50c713) will decrease coverage by 0.02%.
The diff coverage is 84.15%.

@@             Coverage Diff              @@
##             master    #1470      +/-   ##
============================================
- Coverage     83.33%   83.30%   -0.03%     
+ Complexity     2562     2561       -1     
============================================
  Files           107      109       +2     
  Lines          7614     7655      +41     
  Branches       2100     2106       +6     
============================================
+ Hits           6345     6377      +32     
- Misses          384      391       +7     
- Partials        885      887       +2     
Flag Coverage Δ
unittests 83.30% <84.15%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...at/ruleset/rules/chapter3/files/IndentationRule.kt 77.34% <80.32%> (-1.59%) ⬇️
...set/rules/chapter3/files/IndentationConfigAware.kt 81.25% <81.25%> (ø)
.../cqfn/diktat/ruleset/utils/indentation/Checkers.kt 83.33% <92.85%> (+1.12%) ⬆️
.../ruleset/rules/chapter3/files/IndentationAmount.kt 100.00% <100.00%> (ø)
...eset/utils/indentation/CustomIndentationChecker.kt 90.90% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a50c713...73365d4. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 21, 2022

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v1)

1 302 tests   1 287 ✔️  2m 43s ⏱️
   160 suites       15 💤
   160 files           0

Results for commit b59fe91.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 21, 2022

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v1)

1 288 tests   1 272 ✔️  1m 11s ⏱️
   159 suites       16 💤
   159 files           0

Results for commit b59fe91.

♻️ This comment has been updated with latest results.

### What's done:

 * Now, we examine only the 1st 150 lines of each file when looking for the
   superclass constructor call.
### What's done:

 * Test code cleaned up.
### What's done:

 * Test code reformatted.
### What's done:

 * Now, `CustomIndentationChecker` implements `IndentationConfigAware`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants