# Beyond Coverage and Mutation: A Blind-Spot Analysis of LLM-Generated Unit Tests

DevFeed: [Beyond Coverage and Mutation: A Blind-Spot Analysis of LLM-Generated Unit Tests](<https://devfeed.tech/articles/beyond-coverage-and-mutation-a-blind-spot-analysis-of-llm-generated-unit-tests-100371.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.32548>)

Author: Xiaoyu Shi, Wenqiang Luo, Boyang Yang, Haoye Tian

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [mutation-testing](<https://devfeed.tech/topics/mutation-testing.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [Exception](<https://devfeed.tech/topics/exception.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [bias](<https://devfeed.tech/tags/bias.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [branch](<https://devfeed.tech/tags/branch.md>), [control](<https://devfeed.tech/tags/control.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [execution](<https://devfeed.tech/tags/execution.md>), [flow](<https://devfeed.tech/tags/flow.md>), [framework](<https://devfeed.tech/tags/framework.md>), [functions](<https://devfeed.tech/tags/functions.md>), [groups](<https://devfeed.tech/tags/groups.md>), [java](<https://devfeed.tech/tags/java.md>), [java-benchmark](<https://devfeed.tech/tags/java-benchmark.md>), [llm](<https://devfeed.tech/tags/llm.md>), [mutation](<https://devfeed.tech/tags/mutation.md>), [tests](<https://devfeed.tech/tags/tests.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

## AI overview

BlindSpotEval evaluates unit tests by behavioral obligations that aggregate branch coverage and mutation scores can miss. It measures Boundary-Value Adequacy, Control-Flow Adequacy and Oracle Strength, alongside execution reliability; ObligBench contains 895 complex and 700 low-complexity Java functions with obligation annotations. In 14,320 tests from four LLMs and four prompting strategies, incorrect assertions accounted for 15.6% of failures. Among executable tests, coverage of null, negative and empty arguments was 34.8%, 23.8% and 38.8%, versus over 93% on average for booleans. Catch blocks and default groups had low Control-Flow Adequacy scores (0.100 and 0.312). Oracle strength was high on average but weaker for object return properties and exceptions. The authors report happy-path bias in both complexity groups, indicating that complexity alone does not explain these gaps. The framework's construct-level profiles identify which obligation types remain under-tested.

## Source excerpt

arXiv:2610.32548v1 Announce Type: new Abstract: Existing evaluation protocols for unit tests rely on aggregate metrics such as branch coverage and mutation score. These metrics quantify the extent to which a test suite exercises program behavior, but do not identify the behavioral obligations it systematically leaves unchecked. We propose BlindSpotEval, an obligation-based evaluation framework aligned with the Arrange-Act-Assert pattern. The framework comprises three metrics, Boundary-Value Adequacy, Control-Flow Adequacy, and Oracle Strength, complemented by an assessment of execution reliability. We also introduce ObligBench, a complexity-stratified Java benchmark comprising 895 complex and 700 low-complexity functions with source-side obligation annotations. Evaluating 14,320 tests from four LLMs under four prompting strategies reveals systematic blind spots. Incorrect assertions account for 15.6% of test failures, illustrating that coverage alone does not establish oracle correctness. Among executable tests, coverage of null, negative, and empty arguments reaches only 34.8%, 23.8%, and 38.8%, compared with average coverage above 93% for booleans. Catch blocks and default groups have Control-Flow Adequacy scores of only 0.100 and 0.312. Across both dimensions, LLM-generated tests exhibit the happy-path bias observed in human-written tests, concentrating on normal inputs and expected flows while leaving unusual values and exceptional paths unchecked. Oracle strength is high on average but uneven, with weaker assertions for object return property values and exceptions. These blind spots also occur in low-complexity functions, suggesting that code complexity alone does not explain them. BlindSpotEval provides construct-level adequacy profiles that identify under-tested obligation types and can guide targeted improvements beyond those supported by aggregate scores alone.