code_quality_report 1.0.0 copy "code_quality_report: ^1.0.0" to clipboard
code_quality_report: ^1.0.0 copied to clipboard

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

Code Quality Report #

Pub

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 #

3
likes
90
points
278
downloads

Publisher

verified publisheradrianjagielak.dev

Weekly Downloads

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

License

MIT (license)

Dependencies

crypto

More

Packages that depend on code_quality_report