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