-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fixed false positive MISSING_KDOC_ON_FUNCTION
on local function (function inside another function)
#1848
Conversation
### What's done: * fix
…ield. - added `ASTNode.isPrivate()`, `ASTNode.hasSetterGetter()` methods - added `isPairPropertyBackingField(propertyNode: ASTNode?, backingFieldNode: ASTNode?)` function - added warning tests. Closes #1709
* WIP
* Merge master
- Fixed false positive `MISSING_KDOC_ON_FUNCTION` on local function (function inside another function) - Added warning test Closes #1773
diktat-rules/src/test/kotlin/com/saveourtool/diktat/ruleset/chapter2/KdocMethodsTest.kt
Show resolved
Hide resolved
diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter1/IdentifierNaming.kt
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1848 +/- ##
============================================
+ Coverage 78.43% 78.45% +0.02%
- Complexity 2434 2439 +5
============================================
Files 133 133
Lines 8616 8624 +8
Branches 2171 2174 +3
============================================
+ Hits 6758 6766 +8
Misses 896 896
Partials 962 962 ☔ View full report in Codecov by Sentry. |
JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2) 164 files ±0 164 suites ±0 7m 29s ⏱️ -11s Results for commit 325134d. ± Comparison against base commit 5511527. ♻️ This comment has been updated with latest results. |
JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2) 164 files ±0 164 suites ±0 10m 52s ⏱️ + 4m 50s Results for commit 325134d. ± Comparison against base commit 5511527. ♻️ This comment has been updated with latest results. |
What's done:
MISSING_KDOC_ON_FUNCTION
on local function (function inside another function)Closes #1773