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

refactor: prepare for complex metric values #698

Merged
merged 4 commits into from
Feb 19, 2022
Merged

Conversation

dkrutskikh
Copy link
Member

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
[X] Other, please explain:

In some cases we need to calculate complex values by a metric. More details in future PRs.

What changes did you make? (Give an overview)

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

@github-actions
Copy link

github-actions bot commented Feb 18, 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 Feb 18, 2022

Dart Code Metrics analyze report of dart_code_metrics. ✅

Summary

  • Scanned folders: bin, example, lib, test

  • Total scanned files: 393

  • Total lines of source code: 6971

  • Total classes: 261

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

  • Average Source Lines of Code per method: 6

  • Total tech debt: 1142.0 hours

  • Found issues: 6 ⚠

@codecov
Copy link

codecov bot commented Feb 18, 2022

Codecov Report

Merging #698 (fbfa91c) into master (b0ddf09) will not change coverage.
The diff coverage is 68.75%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #698   +/-   ##
=======================================
  Coverage   86.57%   86.57%           
=======================================
  Files         257      257           
  Lines        5490     5490           
=======================================
  Hits         4753     4753           
  Misses        737      737           
Impacted Files Coverage Δ
...matic_complexity/cyclomatic_complexity_metric.dart 100.00% <ø> (ø)
...s_list/halstead_volume/halstead_volume_metric.dart 100.00% <ø> (ø)
...zer/metrics/metrics_list/lines_of_code_metric.dart 100.00% <ø> (ø)
...ics/metrics_list/maintainability_index_metric.dart 100.00% <ø> (ø)
...um_nesting_level/maximum_nesting_level_metric.dart 100.00% <ø> (ø)
...metrics/metrics_list/number_of_methods_metric.dart 100.00% <ø> (ø)
...rics/metrics_list/number_of_parameters_metric.dart 100.00% <ø> (ø)
...rce_lines_of_code/source_lines_of_code_metric.dart 100.00% <ø> (ø)
...ics_list/technical_debt/technical_debt_metric.dart 100.00% <ø> (ø)
...r/metrics/metrics_list/weight_of_class_metric.dart 100.00% <ø> (ø)
... and 15 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 b0ddf09...fbfa91c. Read the comment docs.

@dkrutskikh dkrutskikh merged commit 3e6b525 into master Feb 19, 2022
@dkrutskikh dkrutskikh deleted the metric-refactor branch February 19, 2022 14:45
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants