Sonar Spectra is a modern, extensible SonarQube plugin designed to deliver high-precision custom rules for code scanning, architecture validation, and security-first analysis. It provides a robust framework for implementing domain-specific rules that go beyond standard static analysis.
- Extensible Architecture: Easily add new rules and support for various file formats.
- Configurable: Most rules offer customizable parameters via the SonarQube UI.
- Multi-format Support: Capabilities to parse YAML, Properties, JSON, XML, and more.
- Internationalization: Support for English, French, and German locales.
- SPECTRA-LOG-LEVEL-PROD: Production Log Level Check - Ensures production configurations use appropriate log levels (WARN or higher).
- SonarQube Server (supported versions vary, tested with 9.9 LTS+)
- Java 21+
- Build the plugin using Maven:
mvn clean package
- Copy the resulting
.jarfile fromtarget/to your SonarQube server'sextensions/plugins/directory. - Restart the SonarQube server.
This project is licensed under the terms of the LICENSE file included in the root directory.