TechDebt-Tracker is a powerful command-line tool that helps developers track and manage technical debt in their codebases. It calculates key code metrics like Cyclomatic Complexity, KLOC (thousands of lines of code), and many others to help you identify areas of your code that need attention. Whether you're working solo or as part of a team, TechDebt-Tracker gives you the insights you need to maintain a cleaner, more maintainable codebase.
This command will analyze the ./src directory and calculate important metrics like Cyclomatic Complexity, KLOC, and more for all files within it. π
TechDebt-Tracker is perfect for integrating into your CI/CD pipeline to ensure that technical debt is automatically tracked over time. Here's an example using GitHub Actions:
This will automatically run TechDebt-Tracker every time changes are pushed or a pull request is made to the main branch, ensuring code quality is always monitored. π