Enhancing Large-Scale Code Understanding Through Goal Structuring Notation and Large Language Models

Authors

  • Zezhong Chen Shanghai Key Laboratory of Trustworthy Computing, East China Normal University, Shanghai, 200062, China
  • Yuxin Deng Shanghai Key Laboratory of Trustworthy Computing East China Normal University, Shanghai, 200062, China & MoE Key Laboratory of Interdisciplinary Research of Computation and Economics, Shanghai University of Finance and Economics, Shanghai, 200433, China
  • Wenjie Du Shanghai Normal University Shanghai, 200234, China

Keywords:

Goal structuring notation, large language models, software maintenance, code comprehension

Abstract

Large language models (LLMs) aid programmers in understanding code but are limited by input length when handling large codebases. To address this, we propose using Goal Structuring Notation (GSN) – originally developed for articulating assurance cases in complex engineering projects – to represent and break down large codebases. We introduce a tool that leverages LLMs to automatically convert large code into GSN. The generated GSN provides an overview that simplifies code comprehension and enhances communication among programmers. Experimental results demonstrate that our approach significantly increases programmers’ confidence levels and reduces task completion times.

Downloads

Download data is not yet available.

Published

2025-10-30

How to Cite

Chen, Z., Deng, Y., & Du, W. (2025). Enhancing Large-Scale Code Understanding Through Goal Structuring Notation and Large Language Models. Computing and Informatics, 44(5). Retrieved from http://147.213.75.17/ojs/index.php/cai/article/view/7728