Data class rule: removing several cases from the scope of the inspection#1471
Data class rule: removing several cases from the scope of the inspection#1471
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1471 +/- ##
============================================
+ Coverage 83.25% 83.27% +0.02%
- Complexity 2561 2569 +8
============================================
Files 110 110
Lines 7661 7661
Branches 2107 2107
============================================
+ Hits 6378 6380 +2
+ Misses 392 387 -5
- Partials 891 894 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
4800ee4 to
ef977b9
Compare
### What's done: - Removed annotation, value, sealed, inline, inner classes from the scope - Added tests
8f7af8c to
20b3e2c
Compare
### What's done: - Removed annotation, value, sealed, inline, inner classes from the scope - Added tests
| return true | ||
| } | ||
|
|
||
| /** we do not exclude inner classes and enums here as if they have no |
There was a problem hiding this comment.
I think we filter out inner classes and enums elsewhere:
There was a problem hiding this comment.
also I have no idea, why "open" is prohibited
There was a problem hiding this comment.
but what is the idea? You have open class only with data and properties?
Why not abstract class in this case?
There was a problem hiding this comment.
If there are no abstract fields, than diktat will suggest to change abstract to open ¯\(ツ)/¯
### What's done: - review notes
### What's done: - review notes
### What's done: - review notes
### What's done: - review notes
5205bad to
74039e2
Compare

What's done: