Using LLMs in Software Design: An Empirical Study of GitHub and A Practitioner Survey

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Yifei, Li, Ruiyin, Liang, Peng, Cai, Yangxiao, Li, Zengyang, Shahin, Mojtaba, Khan, Arif Ali, Feng, Qiong
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917454351958016
author Wang, Yifei
Li, Ruiyin
Liang, Peng
Cai, Yangxiao
Li, Zengyang
Shahin, Mojtaba
Khan, Arif Ali
Feng, Qiong
author_facet Wang, Yifei
Li, Ruiyin
Liang, Peng
Cai, Yangxiao
Li, Zengyang
Shahin, Mojtaba
Khan, Arif Ali
Feng, Qiong
contents Recent advancements in Large Language Models (LLMs) have demonstrated significant potential across a wide range of software engineering tasks, including software design, an area traditionally regarded as highly dependent on human expertise and judgment. However, there has been little research focusing on how LLMs are used in software design, nor on the associated benefits and drawbacks. This paper aims to bridge this gap by empirically investigating how software developers utilize LLMs in the context of software design. We conduct a mixed-methods study, combining a mining study of 291 developer-ChatGPT conversations shared on GitHub with a survey of 65 software practitioners. Our findings reveal nine distinct categories of design tasks supported by ChatGPT, including architecture design, data model design, and the use of design patterns. We further characterize developer-ChatGPT interactions, showing that developers primarily use ChatGPT for knowledge acquisition and design-related code generation, with most tasks situated at the detailed design level. The study identifies seven key benefits of utilizing LLMs in software design as perceived by developers, such as better technology selection and the early detection of design flaws. We also uncover six limitations, including the generation of overly lengthy and difficult-to-read outputs, the creation of inexecutable or incorrect code, and a heavy reliance on context that can lead to hallucinated results. These findings provide an evidence-based characterization of current LLM use in software design from both open-source and practitioner perspectives, highlighting a tension between perceived benefits and limitations, which lays a foundation for future research and the development of effective techniques and tools to integrate LLMs into software design practices.
format Preprint
id arxiv_https___arxiv_org_abs_2605_01392
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Using LLMs in Software Design: An Empirical Study of GitHub and A Practitioner Survey
Wang, Yifei
Li, Ruiyin
Liang, Peng
Cai, Yangxiao
Li, Zengyang
Shahin, Mojtaba
Khan, Arif Ali
Feng, Qiong
Software Engineering
Artificial Intelligence
Recent advancements in Large Language Models (LLMs) have demonstrated significant potential across a wide range of software engineering tasks, including software design, an area traditionally regarded as highly dependent on human expertise and judgment. However, there has been little research focusing on how LLMs are used in software design, nor on the associated benefits and drawbacks. This paper aims to bridge this gap by empirically investigating how software developers utilize LLMs in the context of software design. We conduct a mixed-methods study, combining a mining study of 291 developer-ChatGPT conversations shared on GitHub with a survey of 65 software practitioners. Our findings reveal nine distinct categories of design tasks supported by ChatGPT, including architecture design, data model design, and the use of design patterns. We further characterize developer-ChatGPT interactions, showing that developers primarily use ChatGPT for knowledge acquisition and design-related code generation, with most tasks situated at the detailed design level. The study identifies seven key benefits of utilizing LLMs in software design as perceived by developers, such as better technology selection and the early detection of design flaws. We also uncover six limitations, including the generation of overly lengthy and difficult-to-read outputs, the creation of inexecutable or incorrect code, and a heavy reliance on context that can lead to hallucinated results. These findings provide an evidence-based characterization of current LLM use in software design from both open-source and practitioner perspectives, highlighting a tension between perceived benefits and limitations, which lays a foundation for future research and the development of effective techniques and tools to integrate LLMs into software design practices.
title Using LLMs in Software Design: An Empirical Study of GitHub and A Practitioner Survey
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2605.01392