mozilla / rust-code-analysis

Library to analyze and collect metrics on source code
https://mozilla.github.io/rust-code-analysis/
289 stars 49 forks source link

CLI Summary mode #1090

Open jayvdb opened 6 months ago

jayvdb commented 6 months ago

I am interested in building a summary output mode, which prints a human readable summary of all files, like lines of 'metric: value' so that it is also valid yaml

This sounds a bit like https://github.com/mozilla/rust-code-analysis/issues/163 , but that seems more about plumbing.

IMO it could even be a separate tool that ingests the output of RCA, so that the user can first run RCA, delete some of its output if the existing filters are insufficient, and then run the reporting tool to get the summary.

marco-c commented 6 months ago

We'd happily accept a PR to implement this!