Skip to content

Release 0.9.4

Choose a tag to compare

@github-actions github-actions released this 30 Oct 21:18
· 179 commits to main since this release

SonarQube Mathematica Plugin 0.9.4

Installation Instructions

  1. Download the plugin JAR:

    • Download sonar-mathematica-plugin-0.9.4.jar from the assets below
  2. Verify the download (optional but recommended):

    sha256sum sonar-mathematica-plugin-0.9.4.jar

    Expected hash: 3b3c438789b9cc02602dc14da66dbe1080804a364909ae25b8aaecb2bff0f3b8

  3. 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)
  4. 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
  5. 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,.wls

For more configuration options, see the project documentation.


🤖 Generated with GitHub Actions