Skip to content

v1.0.0

Choose a tag to compare

@ngoyal16 ngoyal16 released this 24 Dec 07:43
· 9 commits to main since this release
842f7f5

Release Notes - v1.0.0

We are excited to announce the first major release of the Code Analyzer tool (formerly code-analysis). This release brings a complete architectural overhaul, new analyzers, and robust CI/CD integration.

🚀 Key Features

1. New Project Identity

  • Renamed: The project is now officially code-analyzer.
  • Refactored: Codebase has been modularized for easier extension and maintenance.

2. Expanded Analysis Capabilities

  • New JavaScript Analyzer: Detects commented-out code in .js, .ts, .jsx, and .tsx files.
  • Enhanced Detection: Improved heuristics for HTML and PHP comment detection to reduce false positives.
  • Conflicts Analyzer: robust detection of Git merge conflict markers.

3. Unified Configuration

  • Config-First Approach: All settings are now managed via analysis-config.yaml.
  • Granular Control: Configure top, min thresholds, and exclude paths per analyzer.
  • Simplified CLI: Run everything with a simple ./code-analyzer command.

4. CI/CD & Docker Integration

  • GitLab Code Quality: Native support for generating GitLab-compatible Code Quality reports (gl-code-quality-report.json).
  • Docker: Official images are now built and published to GHCR.
  • Automated Workflow: Unified GitHub Actions pipeline for Linting, Testing, and Publishing.

5. Quality Assurance

  • Unit Tests: Comprehensive test suite covering all analyzers.
  • Linting: Integrated golangci-lint to ensure code standard adherence.

🛠️ Installation & Usage

Build:

go build -o code-analyzer

Run:

./code-analyzer -config=analysis-config.yaml

Run with Docker:

docker run --rm -v $(pwd):/app/data ghcr.io/pixelvide/code-analyzer:main

Full Changelog: https://github.com/pixelvide/code-analyzer/commits/v1.0.0