Code Metrics

Analyze code quality metrics and generate reports

RecursiveIntell Updated

File contents

Code Metrics

Analyze code quality metrics including complexity, maintainability, and test coverage.

Features

  • Cyclomatic complexity analysis
  • Maintainability index calculation
  • Lines of code statistics
  • Test coverage integration

Usage

Analyze a File

Analyze the code metrics for src/main.py

Generate Report

Generate a full metrics report for the project

Implementation

The analysis engine is in loader.py, which handles loading analysis plugins and running them against source files.

RecursiveIntell/ClawGuard/tree/main/tests/fixtures/supply_chain_timebomb commit 78fd71b72a

Frequently asked questions

npx skillmds@latest add recursiveintell/code-metrics