Metraipolis › archive › dc_ee9a4f63215b

Beyond Functional Correctness: Static Code Quality Profiling of LLM-Generated Code — arXiv:2610.19167

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.19167
License (as archived)
CC0-1.0
Archived
2026-10-15T21:46:51.050Z
SHA-256 of the archived text
cc937730ac2b6189084f9f74fce738dcb107f784e254cd98cb829b579b99b33a
Stable URL of this page
https://metraipolis.com/documento/dc_ee9a4f63215b

How to cite

Beyond Functional Correctness: Static Code Quality Profiling of LLM-Generated Code — arXiv:2610.19167 — arXiv (en), https://arxiv.org/abs/2610.19167 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ee9a4f63215b (Metraipolis archive dc_ee9a4f63215b, sha256 cc937730ac2b6189084f9f74fce738dcb107f784e254cd98cb829b579b99b33a)
BibTeX
@misc{dcee9a4f63215b,
  title = {Beyond Functional Correctness: Static Code Quality Profiling of LLM-Generated Code — arXiv:2610.19167},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.19167},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ee9a4f63215b; sha256 cc937730ac2b6189084f9f74fce738dcb107f784e254cd98cb829b579b99b33a},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.19167. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models (LLMs) are increasingly used for code generation, yet most evaluations still focus on whether generated code passes benchmark test suites. Functional correctness alone, however, provides only a limited view of quality: benchmark tests are often incomplete, and passing them does not guarantee that code is maintainable, reliable, or well-structured. This paper {presents a large-scale static quality profiling of} LLM-generated Python code, with a focus on maintainability and reliability. Using 65{,}663 programs from 73 models in LiveCodeBench, we evaluate generated code with established static analysis tools, including Pylint, Radon, and SonarQube. Our results show systematic differences across models that are not captured by correctness alone, with maintainability emerging as the clearest source of variation. We further find that correctness often comes with structural trade-offs rather than uniformly simpler solutions. Overall, our findings motivate evaluation frameworks that assess LLM-generated code beyond pass rates 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.19167 — 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-15T21:34:29.582Z dalla pagina https://arxiv.org/list/cs.SE/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).