Repository navigation
Release 0.9.4
SonarQube Mathematica Plugin 0.9.4
Installation Instructions
-
Download the plugin JAR:
- Download
sonar-mathematica-plugin-0.9.4.jarfrom the assets below
- Download
-
Verify the download (optional but recommended):
sha256sum sonar-mathematica-plugin-0.9.4.jar
Expected hash:
3b3c438789b9cc02602dc14da66dbe1080804a364909ae25b8aaecb2bff0f3b8 -
Install to SonarQube:
# Copy JAR to SonarQube plugins directory cp sonar-mathematica-plugin-0.9.4.jar $SONARQUBE_HOME/extensions/plugins/ # Remove old versions (if any) rm -f $SONARQUBE_HOME/extensions/plugins/sonar-mathematica-plugin-*.jar # (Keep only the new version you just copied)
-
Restart SonarQube:
# macOS: $SONARQUBE_HOME/bin/macosx-universal-64/sonar.sh restart # Linux: $SONARQUBE_HOME/bin/linux-x86-64/sonar.sh restart # Windows: # Use Services control panel or: # $SONARQUBE_HOME\bin\windows-x86-64\StopNTService.bat # $SONARQUBE_HOME\bin\windows-x86-64\StartNTService.bat
-
Verify installation:
- Navigate to: Administration → Marketplace → Installed
- Look for "Mathematica" plugin
- Version should show: 0.9.4
Plugin Details
- Version: 0.9.4
- JAR File:
sonar-mathematica-plugin-0.9.4.jar - SHA256:
3b3c438789b9cc02602dc14da66dbe1080804a364909ae25b8aaecb2bff0f3b8 - Build Date: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
- Minimum SonarQube Version: 9.9
Features
- Support for Wolfram Mathematica code analysis (.m, .wl, .wls files)
- 430+ code quality rules
- Security vulnerability detection (21 rules)
- Security hotspot detection (7 rules)
- Bug detection (80+ rules)
- Code smell detection (300+ rules)
- Symbol table analysis for variable lifetime and scope
- Copy-paste detection (CPD)
- Syntax highlighting
- Metrics: Lines of code, cyclomatic complexity, cognitive complexity
Configuration
Add to your sonar-project.properties:
# Enable Mathematica analysis
sonar.mathematica.file.suffixes=.m,.wl,.wlsFor more configuration options, see the project documentation.
🤖 Generated with GitHub Actions