Slopwatch

•
1
•

Detects and visualizes design smells and code complexity across multiple programming languages, providing a clear metric for maintaining code quality.

Slopwatch is a comprehensive tool designed to combat 'slop' – the painful extra cognitive load caused by messy code – by offering a window into your codebase's health. It leverages Slopmark, a native Go CLI, to analyze Go, Java, TypeScript, and Rust projects. Slopmark scores code based on critical metrics like coupling, cohesion, module depth, and cognitive complexity. This allows teams to establish a clear 'anti-slop KPI' for human developers and especially for AI coding agents, ensuring they maintain code quality by keeping scores below a defined target. Slopwatch serves as a continuous forcing function, promoting good coding practices and enabling users to track refactoring progress and identify emerging slop in real-time.

Características Principales

01Multi-language code analysis (Go, Java, TypeScript, Rust)
02Configurable scoring profiles with pass/fail thresholds for gating code quality
03Calculates code quality score based on coupling, cohesion, module depth, and cognitive complexity
041 GitHub stars
05Provides a live, scrollable ranking dashboard for continuous code health monitoring
06Integrates as a native Go CLI and a GitHub Action for CI/CD workflows

Casos de Uso

01Continuously monitor and visualize code health to prevent the accumulation of technical debt and design smells.
02Establish and enforce clear code quality Key Performance Indicators (KPIs) for AI coding agents to guide their development output.
03Track the effectiveness of refactoring efforts and identify specific areas requiring attention across a codebase.