Hello,
I would like to request the addition of the SonarDelphi plugin to the SonarQube Marketplace.
Info
- Plugin key:
communitydelphi - Version : 1.0.0 (supports SonarQube 9.9 LTS onward)
- Project URL: https://github.com/integrated-application-development/sonar-delphi
- SonarCloud: SonarQube Cloud
Description
SonarDelphi adds support for the Delphi programming language.
Features include:
- 120+ analysis rules
- Custom rules via templates or a programmatic Java API
- Import NUnit test reports (compatible with DUnitX)
- Import test coverage reports (compatible with DelphiCodeCoverage)
Testing
This part was a little awkward to figure out, since you guys wouldnāt have access to the Delphi standard library.
What Iāve done:
- Stubbed out a bare-minimum standard library
- Written a small sample project that triggers a lot of sonar issues and relies only upon the stubbed standard library
- Zipped them both up with a
sonar-project.propertiesat the root configuring things properly
Testing steps:
Nice and simple:
- Extract
sonar-delphi-sample-projectfrom: sonar-delphi-sample-project.zip (11.1 KB) cd sonar-delphi-sample-projectsonar-scanner
Pull Request
Cheers,
Jonah

