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

feat: add static code diagnostic prefer-correct-test-file-name #1000

Merged
merged 4 commits into from Sep 19, 2022

Conversation

incendial
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
  • Other, please explain:

@incendial incendial added type: enhancement New feature or request area-rules labels Sep 15, 2022
@incendial incendial added this to the 4.19.0 milestone Sep 15, 2022
@incendial incendial self-assigned this Sep 15, 2022
@github-actions
Copy link

github-actions bot commented Sep 15, 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 Sep 15, 2022

Dart Code Metrics analyze report of dart_code_metrics. ✅

Summary

  • Scanned folders: bin, example, lib, test

  • Total scanned files: 500

  • Total lines of source code: 8598

  • Total classes: 371

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

  • Average Source Lines of Code per method: 6

  • Total tech debt: 2114.0 hours

  • Found issues: 6 ⚠

@codecov
Copy link

codecov bot commented Sep 15, 2022

Codecov Report

Merging #1000 (4a1a5e7) into master (a254d6e) will increase coverage by 0.04%.
The diff coverage is 100.00%.

❗ Current head 4a1a5e7 differs from pull request most recent head d5aea50. Consider uploading reports for the commit d5aea50 to get more accurate results

@@            Coverage Diff             @@
##           master    #1000      +/-   ##
==========================================
+ Coverage   87.41%   87.46%   +0.04%     
==========================================
  Files         313      316       +3     
  Lines        6620     6645      +25     
==========================================
+ Hits         5787     5812      +25     
  Misses        833      833              
Impacted Files Coverage Δ
...c/analyzers/lint_analyzer/rules/rules_factory.dart 71.42% <ø> (ø)
...r_match_file_name/prefer_match_file_name_rule.dart 100.00% <ø> (ø)
lib/src/analyzers/lint_analyzer/lint_utils.dart 100.00% <100.00%> (ø)
...n_tests/avoid_top_level_members_in_tests_rule.dart 100.00% <100.00%> (ø)
...t/prefer_correct_test_file_name/config_parser.dart 100.00% <100.00%> (ø)
..._file_name/prefer_correct_test_file_name_rule.dart 100.00% <100.00%> (ø)
...es_list/prefer_correct_test_file_name/visitor.dart 100.00% <100.00%> (ø)

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

@sonarcloud
Copy link

sonarcloud bot commented Sep 19, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@incendial incendial merged commit 1d8e535 into master Sep 19, 2022
@incendial incendial deleted the implement-prefer-correct-test-file-name branch September 19, 2022 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-rules type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants