dart-code-checker / dart-code-metrics

Software analytics tool that helps developers analyse and improve software quality.
https://dcm.dev
Other
860 stars 265 forks source link

fix: visit only widgets for use-setstate-synchronously #1210

Closed incendial closed 1 year ago

incendial commented 1 year ago

Please write a short comment explaining your change (or "none" for internal only changes)

Fix false-positives for use-setstate-synchronously.

codecov[bot] commented 1 year ago

Codecov Report

Merging #1210 (e43c151) into master (a2433c4) will increase coverage by 0.00%. The diff coverage is 100.00%.

:exclamation: Current head e43c151 differs from pull request most recent head e5615dc. Consider uploading reports for the commit e5615dc to get more accurate results

@@           Coverage Diff           @@
##           master    #1210   +/-   ##
=======================================
  Coverage   86.26%   86.27%           
=======================================
  Files         362      362           
  Lines        8150     8153    +3     
=======================================
+ Hits         7031     7034    +3     
  Misses       1119     1119           
Impacted Files Coverage Δ
...synchronously/use_setstate_synchronously_rule.dart 100.00% <100.00%> (ø)
...rules_list/use_setstate_synchronously/visitor.dart 86.91% <100.00%> (+0.37%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more