Test Coverage Analyzer

Test Coverage Analyzer MCP Connector for Claude

A+

Analyze test coverage and identify high-risk untested code using AST analysis.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

Test Coverage Analyzer provides deep visibility into how well your test suites exercise agent-generated code. By using deterministic Abstract Syntax Tree (AST) traversal, it identifies exactly which functions and classes are covered and which remain untested. Use analyze_code_coverage to get a full coverage percentage and a list of uncovered nodes. Use identify_uncovered_complex_logic to pinpoint high-risk areas where complex logic lacks verification. You can also use map_test_targets to confirm which specific code elements are being exercised by your tests. This tool helps ensure the auditability and reliability of LLM-generated workflows.

testingcoverageastllm-auditcode-analysis

3 tools expose this connector's capabilities to your AI agent.

analyze_code_coverage

Provides a complete overview of how well the provided test suite exercises the source code

map_test_targets

Determines exactly which functions and classes are being targeted by the provided test suite

identify_uncovered_complex_logic

Specifically pinpoints high-risk areas where complex logic is completely unverified

See how to talk to your AI agent using Test Coverage Analyzer.

What is the test coverage for this code?

The current test coverage is 85%. There are 2 uncovered nodes at lines 12 and 45.

Are there any high-risk areas in my code?

Yes, the function `process_data_stream` at line 50 is high risk due to its high complexity and zero test coverage.

Which functions are being tested by this suite?

The test suite targets the following: `calculate_total` (covered) and `validate_user` (uncovered).

Coverage is calculated by comparing the set of all executable nodes in the source AST against the set of nodes traversed during the test execution simulation.

Related Connectors