get_test_coverage
Test coverage summary — tested/untested classes, coverage gaps, test mapping
How to use it
Project documentation lists get_test_coverage for the PhpCodeArcheology MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install PhpCodeArcheology
docker run --rm -v "$(pwd)":/project -v "$(pwd)/report":/output phpcodearcheology /projectOther tools in PhpCodeArcheology (10)
All classes with key metrics, sortable and filterable
Class dependency analysis (incoming/outgoing)
Knowledge graph as JSON (nodes, edges, cycles)
Overall code health score, grade, and project statistics
Git hotspots ranked by churn × complexity
Impact analysis: what breaks if you change a method? Shows callers and call chains
Detailed metrics for a specific class, file, or function
Code quality problems, filterable by severity and type
Ranked refactoring candidates with recommendations
Search entities by name with metric overview