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

Support kotlin multiplatform project layout in PackageNaming rule #516

Merged
merged 2 commits into from
Nov 12, 2020

Conversation

petertrr
Copy link
Member

What's done:

  • Added logic
  • Added tests

This pull request closes #397

### What's done:
* Added logic
* Added tests
@codecov
Copy link

codecov bot commented Nov 12, 2020

Codecov Report

Merging #516 (6658a27) into master (4e7d838) will increase coverage by 0.06%.
The diff coverage is 80.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #516      +/-   ##
============================================
+ Coverage     81.76%   81.82%   +0.06%     
- Complexity     1550     1551       +1     
============================================
  Files            73       73              
  Lines          3894     3896       +2     
  Branches       1245     1244       -1     
============================================
+ Hits           3184     3188       +4     
- Misses          210      211       +1     
+ Partials        500      497       -3     
Flag Coverage Δ Complexity Δ
unittests 81.82% <80.00%> (+0.06%) 0.00 <1.00> (ø)

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

Impacted Files Coverage Δ Complexity Δ
...fn/diktat/common/config/rules/RulesConfigReader.kt 34.48% <0.00%> (-1.24%) 4.00 <0.00> (ø)
...lin/org/cqfn/diktat/ruleset/rules/PackageNaming.kt 94.93% <100.00%> (+2.62%) 32.00 <1.00> (ø)
.../cqfn/diktat/ruleset/rules/files/WhiteSpaceRule.kt 78.87% <0.00%> (+0.70%) 126.00% <0.00%> (+1.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 4e7d838...6658a27. Read the comment docs.

Copy link
Member

@orchestr7 orchestr7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

### What's done:
* Added list of allowed targets
@petertrr petertrr merged commit c30c8ed into master Nov 12, 2020
@petertrr petertrr deleted the feature/kmp-structure-support#397 branch November 12, 2020 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PACKAGE_NAME_INCORRECT_PATH KMP support
2 participants