https://github.com/whisperarts/analyzer-formatter
Tool for converting Dart Analyzer output to Checkstlye and JUnit report formats
https://github.com/whisperarts/analyzer-formatter
analyzer-formatter dart-analyzer flutter-analyze
Last synced: 4 months ago
JSON representation
Tool for converting Dart Analyzer output to Checkstlye and JUnit report formats
- Host: GitHub
- URL: https://github.com/whisperarts/analyzer-formatter
- Owner: WhisperArts
- License: mit
- Created: 2020-12-28T12:50:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-27T05:32:25.000Z (about 3 years ago)
- Last Synced: 2026-02-15T02:38:17.335Z (4 months ago)
- Topics: analyzer-formatter, dart-analyzer, flutter-analyze
- Language: Dart
- Homepage:
- Size: 31.3 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# analyzer_formatter
[](https://github.com/WhisperArts/analyzer-formatter/actions?query=workflow%3ABuild)
[](https://pub.dartlang.org/packages/analyzer_formatter)
## About
Tool for converting Dart Analyzer output to Checkstlye and JUnit report formats.
## Installation
Install tool from [pub.dev](https://pub.dev):
```shell
flutter pub global activate analyzer_formatter
```
## How to use
1. Check your project with Dart Analyzer and write its output to a file:
```shell
flutter analyze > analyzer_report.txt
```
`analyzer_report.txt` is the name of Dart Analyzer report by default. You can change it and pass your own by `--analyzerReportFile` argument.
2. Run tool for project folder:
```shell
flutter pub global run analyzer_formatter
```
## Arguments
| Name | Description |
| --- | --- |
| `--analyzerReportFile` | Relative path to Analyzer report file |
| `--outputSuffix` | Suffix of a converted report file |
| `--help` | Print tool description |
| `--testStyle` | Convert a result to JUnit report |
## How to contribute
Make sure your build is green before you contribute your pull request. Then:
```shell
$ dart analyze
```
If you don't see any error messages, submit your pull request.
## Contributors
- [@fartem](https://github.com/fartem) as Artem Fomchenkov
- [@dynaevdv](https://github.com/dynaevdv) as Denis Dunaev
- [@qwertyway](https://github.com/qwertyway) as Artem Demyanov
- [@egrischenkov](https://github.com/egrischenkov) as Egor Grischenkov