Cited by 24Software Engineering ResearchSoftware Engineering Techniques and PracticesTopic Modeling

Can ChatGPT Support Developers? An Empirical Evaluation of Large Language Models for Code Generation

Open access
Jin, Kailun, Wang, Chung-Yu, Pham, Hung Viet, Hemmati, Hadi·2024·Proceedings of the 21st International Conference on Mining Software Repositories

Abstract

Large language models (LLMs) have demonstrated notable proficiency in code generation, with numerous prior studies showing their promising capabilities in various development scenarios. However, these studies mainly provide evaluations in research settings, which leaves a significant gap in understanding how effectively LLMs can support developers in real-world. To address this, we conducted an empirical analysis of conversations in DevGPT, a dataset collected from developers' conversations with ChatGPT (captured with the Share Link feature on platforms such as GitHub). Our empirical findings indicate that the current practice of using LLM-generated code is typically limited to either demonstrating high-level concepts or providing examples in documentation, rather than to be used as production-ready code. These findings indicate that there is much future work needed to improve LLMs in code generation before they can be integral parts of modern software development.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3643991.3645074

Cites

6 of 6 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • This behavior seems to be uncommon among developers at large.

    “Notably, this behavior seems to be uncommon among developers at large [Jin et al. 2024].”

    From How Do Programming Students Use Generative AI? (2025) · cites this paper as Jin et al. 2024

    The citing sentence does not identify what “this behavior” refers to, so it cannot be matched to a specific finding in the source. Section RQ1.3 calls requests for another generation rare in the studied DevGPT conversations, but that does not establish that the unspecified behavior is uncommon among developers at large. (LLM, conf=0.72)

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 21

  1. Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, et al. 2021. Program synthesis with large language models. arXiv preprint arXiv:2108.07732 (2021). · arXiv
  2. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. 2021. Evalu- ating large language models trained on code. arXiv preprint arXiv:2107.03374 (2021). · arXiv
  3. Yunhe Feng, Sreecharan Vanam, Manasa Cherukupally, Weijian Zheng, Meikang Qiu, and Haihua Chen. 2023. Investigating Code Generation Performance of Chat-GPT with Crowdsourcing Social Data. In Proceedings of the 47th IEEE Computer Software and Applications Conference. 1-10.
  4. Luciano Floridi and Massimo Chiriatti. 2020. GPT-3: Its nature, scope, limits, and consequences. Minds and Machines 30 (2020), 681-694.
  5. Mehdi Golzadeh, Tom Mens, Alexandre Decan, Eleni Constanti- nou, and Natarajan Chidambaram. 2022. Recognizing bot activity in collaborative software development. IEEE Software 39, 5 (Sept. 2022), 56-61. https://doi.org/10.1109/MS.2022.3178601 · DOI
  6. Albert Gu, Caglar Gulcehre, Tom Le Paine, Matt Hoffman, and Razvan Pascanu. 2020. Improving the Gating Mechanism of Recurrent Neural Networks. arXiv:1910.09890 [cs.NE] · arXiv
  7. Jae Yong Lee, Sungmin Kang, Juyeon Yoon, and Shin Yoo. 2023. The GitHub Recent Bugs Dataset for Evaluating LLM-based De- bugging Applications. arXiv preprint arXiv:2310.13229 (2023). · arXiv
  8. Raymond Li, Loubna Ben Allal, Yangtian Zi, Niklas Muennighoff, Denis Kocetkov, Chenghao Mou, Marc Marone, Christopher Akiki, Jia Li, Jenny Chim, et al. 2023. StarCoder: may the source be with you! arXiv preprint arXiv:2305.06161 (2023). · arXiv
  9. Jenny T Liang, Chenyang Yang, and Brad A Myers. 2023. Un- derstanding the Usability of AI Programming Assistants. arXiv preprint arXiv:2303.17125 (2023). · arXiv
  10. Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. 2023. Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation. arXiv preprint arXiv:2305.01210 (2023). · arXiv
  11. Shuai Lu, Daya Guo, Shuo Ren, Junjie Huang, Alexey Svy- atkovskiy, Ambrosio Blanco, Colin Clement, Dawn Drain, Daxin Jiang, Duyu Tang, Ge Li, Lidong Zhou, Linjun Shou, Long Zhou, Michele Tufano, Ming Gong, Ming Zhou, Nan Duan, Neel Sun- daresan, Shao Kun Deng, Shengyu Fu, and Shujie Liu. 2021. CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generation. arXiv:2102.04664 [cs.SE] · arXiv
  12. James Prather, Brent N Reeves, Paul Denny, Brett A Becker, Juho Leinonen, Andrew Luxton-Reilly, Garrett Powell, James Finnie- Ansley, and Eddie Antonio Santos. 2023. " It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmers. arXiv preprint arXiv:2304.02491 (2023). · arXiv
  13. Steven I Ross, Fernando Martinez, Stephanie Houde, Michael Muller, and Justin D Weisz. 2023. The programmer's assistant: Conversational interaction with a large language model for soft- ware development. In Proceedings of the 28th International Con- ference on Intelligent User Interfaces. 491-514.
  14. Gustavo Sandoval, Hammond Pearce, Teo Nys, Ramesh Karri, Brendan Dolan-Gavitt, and Siddharth Garg. 2022. Security im- plications of large language model code assistants: A user study. arXiv preprint arXiv:2208.09727 (2022). · arXiv
  15. Advait Sarkar, Andrew D Gordon, Carina Negreanu, Christian Poelitz, Sruti Srinivasa Ragavan, and Ben Zorn. 2022. What is it like to program with artificial intelligence? arXiv preprint arXiv:2208.06213 (2022). · arXiv
  16. Jiho Shin, Clark Tang, Tahmineh Mohati, Maleknaz Nayebi, Song Wang, and Hadi Hemmati. 2023. Prompt Engineering or Fine Tuning: An Empirical Assessment of Large Language Models in Automated Software Engineering Tasks. arXiv:2310.10508 [cs.SE] · arXiv
  17. Giriprasad Sridhara, Sourav Mazumdar, et al. 2023. ChatGPT: A Study on its Utility for Ubiquitous Software Engineering Tasks. arXiv preprint arXiv:2305.16837 (2023). · arXiv
  18. Lewis Tunstall, Leandro Von Werra, and Thomas Wolf. 2022. Nat- ural Language Processing with Transformers, Revised Edition. "O'Reilly Media, Inc.".
  19. Shaowei Wang, David Lo, and Lingxiao Jiang. 2013. An empirical study on developer interactions in stackoverflow. In Proceedings of the 28th annual ACM symposium on applied computing. 1019- 1024.
  20. Tao Xiao, Christoph Treude, Hideaki Hata, and Kenichi Mat- sumoto. 2024. DevGPT: Studying Developer-ChatGPT Conversa- tions. In Proceedings of the International Conference on Mining Software Repositories (MSR 2024).
  21. Li Zhong and Zilong Wang. 2023. A study on robustness and reliability of large language model code generation. arXiv preprint arXiv:2308.10335 (2023). · arXiv

Cited by

Sorted by citations

Authors
Jin, K., Wang, C.-Y., Pham, H. V., & Hemmati, H.
Affiliations
York University (CA)
Corresponding author
Hemmati, Hadi
Venue
Proceedings of the 21st International Conference on Mining Software Repositories
Publisher
ACM
Published
2024-04-15
Pages
167-171
OpenAlex
W4391986589
Cited by
24
References
6
Citations by year
2026: 5 · 2025: 13 · 2024: 6
FWCI
9.14
Type
conference paper
Language
en
Open access
Locations
  • International Conference on Mining Software Repositories (MSR) (publishedVersion)
  • arXiv (Cornell University) (submittedVersion, cc-by-nc-sa)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
Keywords
large language models, code generation, ChatGPT, developer support

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review