mcarvin8 / apex-code-coverage-transformer

A Salesforce CLI plugin to transform apex code coverage JSONs created during deployments and test runs into Generic Test Coverage Reports (XML) for SonarQube.
MIT License
11 stars 0 forks source link

Hello, how do you work with importing pmd static analysis reports? #38

Closed hiagofss closed 1 month ago

hiagofss commented 1 month ago

Hello, I'm trying to use PMD's static analysis in conjunction with the coverage report to extract better metrics, but the sonar plugin available at https://github.com/SalesforceFoundation/salesforce-sonar-plugin is not up to date and I'm unable to compile it.

Do you also use static analysis of files? How?

mcarvin8 commented 1 month ago

Hi. I wasn't aware of a plugin like that that imports PMD into SonarQube. Currently just using SonarQube's default rule sets in conjunction with the coverage reports created by this plugin.

I'd have to look more into what that plugin is doing but I would say it's out of the scope of this plugin since I just want this to cover the coverage reports.

I can look into developing a new plugin separate from this one for PMD scans if that's desired.

mcarvin8 commented 1 month ago

Closing since this is out of the scope of this plugin but willing to look into this more.