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

fix: normalize file paths after extraction from analyzed folder #864

Merged
merged 4 commits into from Jun 13, 2022

Conversation

incendial
Copy link
Member

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

[ ] Documentation update
[X] 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:

#799

@incendial incendial added this to the 5.0.0 milestone May 22, 2022
@incendial incendial requested a review from dkrutskikh May 22, 2022 13:32
@incendial incendial self-assigned this May 22, 2022
@github-actions
Copy link

github-actions bot commented May 22, 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 May 22, 2022

Dart Code Metrics analyze report of dart_code_metrics. ✅

Summary

  • Scanned folders: bin, example, lib, test

  • Total scanned files: 426

  • Total lines of source code: 7462

  • Total classes: 291

  • Average Cyclomatic Number per line of code: 0.35

  • Average Source Lines of Code per method: 6

  • Total tech debt: 1310.0 hours

  • Found issues: 6 ⚠

@@ -23,5 +23,5 @@ Set<String> extractDartFilesFromFolders(
relative(entity.path, from: rootFolder),
globalExcludes,
))
.map((entity) => entity.path))
.map((entity) => normalize(entity.path)))
Copy link
Member

Choose a reason for hiding this comment

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

@incendial please cover by tests

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@codecov
Copy link

codecov bot commented Jun 13, 2022

Codecov Report

Merging #864 (d8e05af) into master (0c0f76f) will not change coverage.
The diff coverage is 100.00%.

❗ Current head d8e05af differs from pull request most recent head 25765f0. Consider uploading reports for the commit 25765f0 to get more accurate results

@@           Coverage Diff           @@
##           master     #864   +/-   ##
=======================================
  Coverage   87.28%   87.28%           
=======================================
  Files         280      280           
  Lines        5945     5945           
=======================================
  Hits         5189     5189           
  Misses        756      756           
Impacted Files Coverage Δ
lib/src/utils/file_utils.dart 100.00% <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 0c0f76f...25765f0. Read the comment docs.

@dkrutskikh dkrutskikh merged commit 6a89f82 into master Jun 13, 2022
@dkrutskikh dkrutskikh deleted the normalize-path-after-extraction branch June 13, 2022 17:47
@incendial incendial modified the milestones: 5.0.0, 4.16.0 Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants