Metraipolis › archive › dc_c532c3912c43
Beyond Coverage and Mutation: A Blind-Spot Analysis of LLM-Generated Unit Tests — arXiv:2610.32548
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.32548
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-26T20:15:42.374Z
- SHA-256 of the archived text
ff5cd11b02157c16e35f2dd7e2576c00a66e6d88e59f9e50c9e8b0ca81f9f7e6- Stable URL of this page
https://metraipolis.com/documento/dc_c532c3912c43
How to cite
Beyond Coverage and Mutation: A Blind-Spot Analysis of LLM-Generated Unit Tests — arXiv:2610.32548 — arXiv (en), https://arxiv.org/abs/2610.32548 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c532c3912c43 (Metraipolis archive dc_c532c3912c43, sha256 ff5cd11b02157c16e35f2dd7e2576c00a66e6d88e59f9e50c9e8b0ca81f9f7e6)
BibTeX
@misc{dcc532c3912c43,
title = {Beyond Coverage and Mutation: A Blind-Spot Analysis of LLM-Generated Unit Tests — arXiv:2610.32548},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.32548},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c532c3912c43; sha256 ff5cd11b02157c16e35f2dd7e2576c00a66e6d88e59f9e50c9e8b0ca81f9f7e6},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.32548. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.SE, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2610.32548 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-26T19:49:18.377Z dalla pagina https://arxiv.org/list/cs.SE/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).