phpmetrics / PhpMetrics

Beautiful and understandable static analysis tool for PHP
https://phpmetrics.github.io/website/
MIT License
2.48k stars 259 forks source link

Add command to get summary as Json #467

Closed roelbaka closed 2 years ago

roelbaka commented 2 years ago

I wanted to add the summary metrics of PHPMetrics to a build pipeline so I can send this data to a monitoring client to track changes over time.

I did not find an easy way to do this, so I thought I would add a functionality to get the consolidated data as JSON.

image

Halleck45 commented 2 years ago

Hi @roelbaka ,

thanks for your contribution ! That's a good idea.