Repository navigation
v1.0.0
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.tsxfiles. - 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,minthresholds, andexcludepaths per analyzer. - Simplified CLI: Run everything with a simple
./code-analyzercommand.
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-lintto ensure code standard adherence.
🛠️ Installation & Usage
Build:
go build -o code-analyzerRun:
./code-analyzer -config=analysis-config.yamlRun with Docker:
docker run --rm -v $(pwd):/app/data ghcr.io/pixelvide/code-analyzer:mainFull Changelog: https://github.com/pixelvide/code-analyzer/commits/v1.0.0