code_quality_report 0.1.2
code_quality_report: ^0.1.2 copied to clipboard

Dart native
Flutter Android iOS

Generate Code Climate JSON reports from dart Analysis Server. Transforms the output of dartanalyzer to GitLab code quality JSON

Code Quality Report #

Introduction #

This application can be used to convert the results of dartanalyzer to Code Climate json reports. These JSON reports can then be used by other tools like GitLab CI.

By running

dartanalyzer . --format=machine 2>&1 | tocodeclimate > code-quality-report.json

this program will generate 'code-quality-report.json' containing JSON containing list of Code Climate issues as in specification.

Installation #

Run pub global activate code_quality_report to download the program and make a launch script available: <dart-cache>/bin/tojunit.

If the <dart-cache>/bin directory is not on your path, you will get a warning, including tips on how to fix it.

Once the directory is on your path you should be able to pipe dartanalyzer output to this program.

License and contributors #

2
likes
100
pub points
0%
popularity

Generate Code Climate JSON reports from dart Analysis Server. Transforms the output of dartanalyzer to GitLab code quality JSON

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

adrian.jagielak@gmail.com

License

MIT (LICENSE)

Dependencies

crypto

More

Packages that depend on code_quality_report