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

Feature/viktor guide review #618

Merged
merged 24 commits into from
Dec 14, 2020
Merged

Feature/viktor guide review #618

merged 24 commits into from
Dec 14, 2020

Conversation

orchestr7
Copy link
Member

Which rule and warnings did you add?

This pull request closes

Actions checklist

  • Implemented Rule, added Warnings
  • Added tests on checks
  • Added tests on fixers
  • Updated diktat-analysis.yml
  • Updated available-rules.md

Fixme

vtchem and others added 21 commits November 13, 2020 15:49
### What's done:
Edited the material and requested review.
…Viktor_Guide_Review

� Conflicts:
�	info/guide/guide-chapter-1.md
�	info/guide/guide-chapter-2.md
�	info/guide/guide-chapter-3.md
�	info/guide/guide-chapter-4.md
�	info/guide/guide-chapter-6.md
### What's done:
Review notes
### What's done:
Edited the material and requested review.
Co-authored-by: Peter Trifanov <peter.trifanov@mail.ru>
Co-authored-by: Peter Trifanov <peter.trifanov@mail.ru>
Co-authored-by: Peter Trifanov <peter.trifanov@mail.ru>
Co-authored-by: Peter Trifanov <peter.trifanov@mail.ru>
Co-authored-by: Peter Trifanov <peter.trifanov@mail.ru>
### What's done:
Review notes
### What's done:
Review notes
### What's done:
Edited the material and requested review.
### What's done:
Edited the material and requested review.
### What's done:
Edited the material and requested review.
…o feature/Viktor_Guide_Review

# Conflicts:
#	info/guide/guide-chapter-1.md
#	info/guide/guide-chapter-2.md
#	info/guide/guide-chapter-3.md
#	info/guide/guide-chapter-4.md
#	info/guide/guide-chapter-6.md
#	info/guide/guide-chapter-8.md
@@ -149,7 +152,7 @@ typealias Predicate<T> = (T) -> Boolean
### <a name="c4.3"></a> 4.3 Null safety and variable declarations
Kotlin is declared as a null-safe programming language. However, to achieve compatibility with Java, it still supports nullable types.

### <a name="r4.3.1"></a> Recommendation 4.3.1: Avoid declaring variables with nullable types, especially from Kotlin stdlib.
#### <a name="s4.3.1"></a> Recommendation 4.3.1: Avoid declaring variables with nullable types, especially from Kotlin stdlib.
Copy link
Member Author

Choose a reason for hiding this comment

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

need to fix these things

@codecov
Copy link

codecov bot commented Dec 8, 2020

Codecov Report

Merging #618 (d00876a) into master (8baf3d8) will decrease coverage by 0.09%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #618      +/-   ##
============================================
- Coverage     80.85%   80.75%   -0.10%     
+ Complexity     1787     1748      -39     
============================================
  Files            90       89       -1     
  Lines          4690     4615      -75     
  Branches       1414     1386      -28     
============================================
- Hits           3792     3727      -65     
- Misses          318      322       +4     
+ Partials        580      566      -14     
Flag Coverage Δ Complexity Δ
unittests 80.75% <ø> (-0.10%) 0.00 <ø> (ø)

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

Impacted Files Coverage Δ Complexity Δ
...in/org/cqfn/diktat/ruleset/rules/files/FileSize.kt 66.66% <0.00%> (-10.61%) 9.00% <0.00%> (+1.00%) ⬇️
...qfn/diktat/plugin/gradle/DiktatJavaExecTaskBase.kt 76.19% <0.00%> (-2.39%) 7.00% <0.00%> (-2.00%)
...fn/diktat/ruleset/rules/files/FileStructureRule.kt 82.60% <0.00%> (-1.69%) 55.00% <0.00%> (-6.00%)
...rg/cqfn/diktat/ruleset/rules/files/NewlinesRule.kt 81.30% <0.00%> (-0.39%) 110.00% <0.00%> (-12.00%)
...lin/org/cqfn/diktat/ruleset/rules/PackageNaming.kt 93.97% <0.00%> (-0.08%) 32.00% <0.00%> (ø%)
...cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt 97.67% <0.00%> (-0.03%) 9.00% <0.00%> (ø%)
...tlin/org/cqfn/diktat/ruleset/constants/Warnings.kt 97.63% <0.00%> (-0.02%) 11.00% <0.00%> (ø%)
...tlin/org/cqfn/diktat/ruleset/utils/AstConstants.kt 100.00% <0.00%> (ø) 0.00% <0.00%> (ø%)
...tlin/org/cqfn/diktat/ruleset/utils/AstNodeUtils.kt 84.82% <0.00%> (ø) 0.00% <0.00%> (ø%)
...tlin/org/cqfn/diktat/ruleset/utils/KotlinParser.kt 86.79% <0.00%> (ø) 17.00% <0.00%> (ø%)
... and 8 more

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 2a29553...6381466. Read the comment docs.

### What's done:
Edited the material and requested review.
Copy link
Member Author

@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, looks nice after changes

@orchestr7 orchestr7 merged commit 27d1536 into master Dec 14, 2020
@petertrr petertrr added the documentation Improvements or additions to documentation label Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants