Skip to main navigation Skip to search Skip to main content

ENHANCING LARGE-SCALE CODE UNDERSTANDING THROUGH GOAL STRUCTURING NOTATION AND LARGE LANGUAGE MODELS

  • Zezhong Chen
  • , Yuxin Deng*
  • , Wenjie Du
  • *Corresponding author for this work
  • East China Normal University
  • Shanghai University of Finance and Economics
  • Shanghai Normal University

Research output: Contribution to journalArticlepeer-review

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.

Original languageEnglish
Pages (from-to)1144-1177
Number of pages34
JournalComputing and Informatics
Volume44
Issue number5
DOIs
StatePublished - 2025

Keywords

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

Fingerprint

Dive into the research topics of 'ENHANCING LARGE-SCALE CODE UNDERSTANDING THROUGH GOAL STRUCTURING NOTATION AND LARGE LANGUAGE MODELS'. Together they form a unique fingerprint.

Cite this