Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

fix: cyclomatic complexity calculation for functions with internal la… #666

Merged
merged 2 commits into from
Jan 26, 2022

Conversation

dkrutskikh
Copy link
Member

…mbdas

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[ ] Bug fix
[ ] New rule
[ ] Changes an existing rule
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

Is there anything you'd like reviewers to focus on?

@dkrutskikh dkrutskikh added this to the 4.10.0 milestone Jan 26, 2022
@github-actions
Copy link

github-actions bot commented Jan 26, 2022

Dart Code Metrics unused files report of dart_code_metrics. ✅

Summary

  • Scanned package folders: bin, example, lib
  • No unused files found! ✅

@github-actions
Copy link

github-actions bot commented Jan 26, 2022

Dart Code Metrics analyze report of dart_code_metrics. ✅

Summary

  • Scanned folders: bin, example, lib, test

  • Total scanned files: 381

  • Total lines of source code: 6832

  • Total classes: 255

  • Average Cyclomatic Number per line of code: 0.35 / 1

  • Average Source Lines of Code per method: 6

  • Total tech debt: 1094.0 hours

  • Found issues: 6 ⚠

@codecov
Copy link

codecov bot commented Jan 26, 2022

Codecov Report

Merging #666 (08ced77) into master (53bb3ba) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #666   +/-   ##
=======================================
  Coverage   86.21%   86.21%           
=======================================
  Files         251      251           
  Lines        5377     5377           
=======================================
  Hits         4636     4636           
  Misses        741      741           
Impacted Files Coverage Δ
...complexity/cyclomatic_complexity_flow_visitor.dart 100.00% <ø> (ø)

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 53bb3ba...08ced77. Read the comment docs.

@dkrutskikh dkrutskikh merged commit 73bdba7 into master Jan 26, 2022
@dkrutskikh dkrutskikh deleted the invalid-cyclomatic-complexity branch January 26, 2022 18:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants