flutter_analyze_reporter 0.0.4 copy "flutter_analyze_reporter: ^0.0.4" to clipboard
flutter_analyze_reporter: ^0.0.4 copied to clipboard

Parse Flutter analyze output to display it within GitLab Code Quality Widget

example/example.md

Usage #

Usage information can be found by executing flutter_analyze_reporter --help

A parser to create reports from `flutter analyze` output.

-h, --[no-]help                  Print this usage information.
-r, --reporter                   Set output report type.

          [console] (default)    Print output to console.
          [gitlab]               Generate GitLab code quality JSON report.

-o, --output                     Output file name.
                                 (defaults to "report.json")

Usage example flutter_analyze_reporter --output report.json --reporter gitlab

GitLab CI example #

Parse flutter analyze output for GitLab Code Quality Widget.

.gitlab-ci.yml file:

stages:
  - test
code_quality:
  stage: test
  allow_failure: true
  before_script:
    - export PATH="$PATH":"$HOME/.pub-cache/bin"
  script:
    - dart pub global activate flutter_analyze_reporter
    - flutter_analyze_reporter --output report.json --reporter gitlab
  reports:
    codequality: report.json
5
likes
0
pub points
61%
popularity

Publisher

verified publisherandnexus.com

Parse Flutter analyze output to display it within GitLab Code Quality Widget

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, crypto, flutter, lint

More

Packages that depend on flutter_analyze_reporter