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.
Keywords
Cite this article
@article{cai-7728,
author = {Zezhong Chen and Yuxin Deng and Wenjie Du},
title = {Enhancing Large-Scale Code Understanding Through Goal Structuring Notation and Large Language Models},
journal = {Computing and Informatics},
volume = {44},
number = {5},
pages = {1144--1177},
year = {2025},
issn = {1335-9150},
doi = {10.31577/cai_2025_5_1144}
}
TY - JOUR AU - Zezhong Chen AU - Yuxin Deng AU - Wenjie Du TI - Enhancing Large-Scale Code Understanding Through Goal Structuring Notation and Large Language Models JO - Computing and Informatics VL - 44 IS - 5 SP - 1144 EP - 1177 PY - 2025 SN - 1335-9150 DO - 10.31577/cai_2025_5_1144 UR - https://doi.org/10.31577/cai_2025_5_1144 KW - Goal structuring notation KW - large language models KW - software maintenance KW - code comprehension ER -
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), 1144–1177. https://doi.org/10.31577/cai_2025_5_1144