flutter_analyze_reporter 0.0.12 copy "flutter_analyze_reporter: ^0.0.12" to clipboard
flutter_analyze_reporter: ^0.0.12 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.

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

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

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
  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
  artifacts: 
    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

ansicolor, args, crypto, flutter, xml

More

Packages that depend on flutter_analyze_reporter