Smellscout provides a quantifiable measure of Java design quality, making complex PMD signals actionable for coding agents. It ranks production files by a weighted design-debt score, combining metrics like cognitive, cyclomatic, and NPath complexity with nesting, coupling, and God Class findings. The tool operates statelessly, automatically identifying Maven and Gradle projects, inferring Java language versions, and reporting current project status, enabling agents to aim for a simple goal: lower the score, ideally keeping it below 100 for each file.
주요 기능
01Ranks Java files by a weighted design-debt score derived from PMD measurements.
021 GitHub stars
03Supports customizable quality gates to fail runs if scores exceed a set maximum.
04Automatically discovers Java source roots in Maven and Gradle projects.
05Provides structured JSON output for programmatic integration with agents or other tools.
06Exposes analysis functionality through an optional local MCP server for agent integration.
사용 사례
01Guiding coding agents to improve Java design quality by setting clear, measurable targets.
02Identifying high-priority cleanup targets for refactoring initiatives within Java projects.
03Evaluating specific changed files to track design quality improvements before and after agent-driven refactors.