mlsanityData to 14 Oct 2026

Hierarchical Evaluation of Software Design Capabilities of Large Language Models of Code

arXiv 2511.20933 ↗First posted 25 Nov 2025cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) are being increasingly adopted in the software engineering domain, yet the robustness of their grasp on core software design concepts remains unclear. We conduct an empirical study to systematically evaluate their understanding of cohesion (intra-module) and coupling (inter-module). We programmatically generate poorly designed code fragments and test the DeepSeek-R1 model family (14B, 32B, 70B) under varying levels of guidance, from simple textitVerification to textitGuided and textitOpen-ended Generation, while varying contextual noise by injecting distractor elements. While models exhibit a solid baseline understanding of both concepts in ideal conditions, their practical knowledge is fragile and highly asymmetrical. Reasoning about coupling proves brittle; performance collapses in noisy, open-ended scenarios, with F1 scores dropping by over 50%. In contrast, the models' analysis of cohesion is remarkably robust to internal noise in guided tasks, showing little performance degradation. However, this resilience also fails when all guidance is removed. Reasoning-trace analysis confirms these failure modes, revealing textitcognitive shortcutting for coupling versus a more exhaustive (yet still failing) analysis for cohesion. To summarize, while LLMs can provide reliable assistance for recognizing design flaws, their ability to reason autonomously in noisy, realistic contexts is limited, highlighting the critical need for more scalable and robust program understanding capabilities.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 25 Nov 2025.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026OODEval: Evaluating Large Language Models on Object-Oriented Design ↗
  2. 2026SAKE: Software Architectural Knowledge Evaluation Benchmark for Large Language Models
  3. 2025Evaluating Code Reasoning Abilities of Large Language Models Under Real-World Settings
  4. 2026Evaluating Language Models on Cross-Language Code Functional Equivalence
  5. 2026Where Do Large Language Models Fail on Competitive Programming? A Taxonomy of Failures by Algorithm Type and Difficulty Rating ↗
  6. 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reason
  7. 2024Software Model Evolution with Large Language Models: Experiments on Simulated, Public, and Industrial Datasets
  8. 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASML