Dear SonarSource Marketplace Team,
I am submitting a new plugin for the SonarQube Marketplace: Wolfralyze, a comprehensive code quality and security analyzer for the Wolfram Mathematica programming language.
Plugin Overview
Name: Mathematica
Key: mathematica
Version: 1.0.0
License: AGPL-3.0
Repository: GitHub - bceverly/wolfralyze: SonarQube plugin for Wolfram Mathematica - Code duplication detection and static analysis
Website: wolfralyze.org
Description
Wolfralyze brings Tier 1 language support to Wolfram Mathematica, a language widely used in scientific computing, data science, machine learning, and computational research. This plugin provides comprehensive static analysis with:
-
529+ Quality Rules covering:
- 27 Security Vulnerability rules (SQL injection, command injection, XSS, hardcoded credentials, crypto weaknesses)
- 29 Security Hotspot rules
- 162 Bug Detection rules
- 247 Code Smell rules
- Performance anti-patterns
-
Advanced Features:
- Symbol table analysis for variable lifetime and scope tracking
- Copy-paste detection (CPD)
- Syntax highlighting for .m, .wl, and .wls files
- Code metrics: Lines of code, cyclomatic complexity, cognitive complexity
- Test coverage support (native Wolfram format)
- 53 automated quick fixes
-
Security Analysis:
- Command injection detection
- SQL injection detection
- Hardcoded credentials detection
- Cryptographic weakness detection
- Path traversal vulnerabilities
- OWASP Top 10 coverage
Screenshots
Visual demonstrations are available showing:
- Dashboard Overview - SonarQube dashboard showing comprehensive quality metrics
- Issues Detection - Detailed issue list with security vulnerabilities, bugs, and code smells
- Code Analysis - Syntax highlighting and inline issue detection in Mathematica code
- Rule Documentation - Comprehensive rule explanations with Mathematica-specific guidance
- Quality Profile - Complete view of 529+ rules organized by category
- Plugin Installation - Successful integration with SonarQube marketplace
Screenshots are in the repository at: docs/images/screenshots/
Technical Details
- Minimum SonarQube Version: 9.9
- Java Version: 11+
- Supported File Extensions: .m, .wl, .wls
- Plugin Size: ~800KB
- Test Coverage: 94.9%
SonarCloud Quality Gate
Project ID: bceverly_wolfralyze (viewable on SonarCloud)
Status:
PASSING (Quality Gate: A rating)
- Coverage: 94.9%
- Bugs: 0
- Vulnerabilities: 0
- Security Hotspots: 0
- Code Smells: Minimal
- Duplications: 0.0%
Quality Assurance
The plugin has been:
Thoroughly tested with 94.9% code coverage
Analyzed on SonarCloud with zero critical issues
Validated against the SonarQube Plugin API
Tested on SonarQube 9.9+ and 10.x
Documented with comprehensive user guides
Licensed under AGPL-3.0 (marketplace-compatible)
Release Assets
The v1.0.0 release includes:
- wolfralyze-1.0.0.jar - Plugin binary (SHA256 verified)
- wolfralyze-1.0.0-sbom.json - Software Bill of Materials (SBOM)
- update-center-properties - Marketplace metadata
All releases are:
- Automatically built via GitHub Actions
- Cryptographically signed with SHA256 hashes
- Accompanied by SBOM for supply chain security
- Available in the GitHub repository releases section
Target Audience
This plugin serves:
- Scientific computing teams using Wolfram Mathematica
- Data scientists and researchers
- Educational institutions teaching computational mathematics
- Organizations using Mathematica for financial modeling, engineering simulations, and data analysis
Mathematica is used by thousands of organizations worldwide, and this plugin fills a gap in the SonarQube ecosystem by bringing enterprise-grade code quality analysis to this important language.
Supporting Materials
The repository includes:
- Complete documentation in GitHub Wiki format (docs/ directory)
- Installation and configuration guides
- Rule catalog with all 529 rules documented
- CI/CD integration examples (GitHub Actions, GitLab, Jenkins, Azure, CircleCI)
- Test project with intentional issues for demonstration
- SBOM guide for security and compliance
Developer Information
Organization: Bryan C. Everly
Contact: Available in repository
I am committed to maintaining this plugin and providing timely updates for new SonarQube versions and rule enhancements.
Marketplace Compliance
This plugin:
Follows SonarQube Plugin API guidelines
Uses only documented, stable APIs
Includes proper metadata in .sonarsource/metadata.json
Provides clear installation and configuration documentation
Uses an OSI-approved open-source license (AGPL-3.0)
Includes automated testing and quality gates
Provides SBOM for security transparency
Does not compete with existing SonarSource offerings
Provides NCLOC and NCLOC_DATA metrics for language support
Demonstration
A fully working demonstration project is available (wolfralyze-test-project repository), which includes:
- Sample Mathematica code with intentional issues
- Unit tests with native coverage generation
- Complete SonarQube integration
- Documentation for reproducing the analysis
Pull Request
I have created a pull request to sonar-update-center-properties with the plugin metadata file (mathematica.properties).
Next Steps
I am available to:
- Provide additional documentation or screenshots
- Answer technical questions about the implementation
- Make any necessary modifications to meet marketplace requirements
- Participate in code review or security audit processes
Thank you for considering Wolfralyze for the SonarQube Marketplace. I look forward to bringing comprehensive Mathematica language support to the SonarQube community.
Best regards,
Bryan C. Everly