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

Add @property, @receiver, and @exception to the list of essential tags #1468

Merged
merged 2 commits into from
Jul 21, 2022

Conversation

0x6675636b796f75676974687562
Copy link
Member

What's done:

…al tags

### What's done:

 * All the above KDoc tags are essential because they document the signature of
   a function. Therefore, they should be grouped together with other
   signature-specific tags (`@param`, `@return`, `@throws`).
 * We also include the `@constructor` tag into the list (see, for example, how
   `kotlin.Pair` is documented).
 * This fixes #1465.
@codecov
Copy link

codecov bot commented Jul 21, 2022

Codecov Report

Merging #1468 (cbcf5c6) into master (ff346b0) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1468      +/-   ##
============================================
+ Coverage     83.30%   83.33%   +0.02%     
- Complexity     2561     2562       +1     
============================================
  Files           107      107              
  Lines          7607     7614       +7     
  Branches       2100     2100              
============================================
+ Hits           6337     6345       +8     
  Misses          384      384              
+ Partials        886      885       -1     
Flag Coverage Δ
unittests 83.33% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
...tlin/org/cqfn/diktat/ruleset/constants/Warnings.kt 98.08% <100.00%> (ø)
...ktat/ruleset/rules/chapter2/kdoc/KdocFormatting.kt 85.06% <100.00%> (+0.95%) ⬆️

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 ff346b0...cbcf5c6. Read the comment docs.

@github-actions
Copy link
Contributor

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

1 302 tests   1 287 ✔️  3m 35s ⏱️
   160 suites       15 💤
   160 files           0

Results for commit 549bb80.

@github-actions
Copy link
Contributor

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

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

Results for commit 549bb80.

@0x6675636b796f75676974687562 0x6675636b796f75676974687562 deleted the bugfix/andrey.shcheglov/c branch July 21, 2022 14: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.

KDOC_NEWLINES_BEFORE_BASIC_TAGS false positives after @property and @receiver tags
3 participants