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

Fix false positive in UnusedPrivateClass #2207

Merged
merged 1 commit into from
Dec 28, 2019
Merged

Fix false positive in UnusedPrivateClass #2207

merged 1 commit into from
Dec 28, 2019

Conversation

BraisGabin
Copy link
Member

Fixes #2158

This commit adds the case when a class is used as type argument in a generic function
@codecov-io
Copy link

Codecov Report

Merging #2207 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master   #2207      +/-   ##
===========================================
+ Coverage     81.19%   81.2%   +<.01%     
  Complexity     2064    2064              
===========================================
  Files           340     340              
  Lines          5907    5910       +3     
  Branches       1076    1076              
===========================================
+ Hits           4796    4799       +3     
  Misses          535     535              
  Partials        576     576
Impacted Files Coverage Δ Complexity Δ
...rturbosch/detekt/rules/style/UnusedPrivateClass.kt 68.85% <100%> (+1.61%) 4 <0> (ø) ⬇️

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 a16022b...e8e93e8. Read the comment docs.

@arturbosch arturbosch merged commit 3d4ea24 into detekt:master Dec 28, 2019
@arturbosch arturbosch added this to the 1.3.1 milestone Dec 28, 2019
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.

UnusedPrivateClass has false positive behavior for deserialized items
3 participants