{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,4]],"date-time":"2026-11-04T21:04:13Z","timestamp":1793826253255,"version":"4.6.1"},"reference-count":57,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2025,5,20]],"date-time":"2025-05-20T00:00:00Z","timestamp":1747699200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Comput. Educ."],"published-print":{"date-parts":[[2025,6,30]]},"abstract":"<jats:p>Large Language Models (LLMs), such as ChatGPT, have become widely popular for various software engineering tasks, including programming, testing, code review, and program comprehension. However, their impact on improving software quality in educational settings remains uncertain. This article explores our experience teaching the use of Programming Mistake Detector (PMD) to foster a culture of bug fixing and leverage LLM to improve software quality in the classroom. This article discusses the results of an experiment involving 155 submissions that carried out a code review activity of 1,658 rules. Our quantitative and qualitative analyses reveal that a set of PMD quality issues influences the acceptance or rejection of the issues, and design-related categories that take longer to resolve. Although students acknowledge the potential of using ChatGPT during code review, some skepticism persists. Further, constructing prompts for ChatGPT that possess clarity, complexity, and context nurtures vital learning outcomes, such as enhanced critical thinking, and among the 1,658 issues analyzed, 93% of students indicated that ChatGPT did not identify any additional issues beyond those detected by PMD. Conversations between students and ChatGPT encompass five categories, including ChatGPT\u2019s use of affirmation phrases like \u201ccertainly\u201d regarding bug fixing decisions, and apology phrases such as \u201capologize\u201d when resolving challenges. Through this experiment, we demonstrate that code review can become an integral part of the educational computing curriculum. We envision our findings to enable educators to support students with effective code review strategies, increasing awareness of LLMs, and promoting software quality in education.<\/jats:p>","DOI":"10.1145\/3722229","type":"journal-article","created":{"date-parts":[[2025,3,7]],"date-time":"2025-03-07T20:25:51Z","timestamp":1741379151000},"page":"1-36","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":17,"title":["Nurturing Code Quality: Leveraging Static Analysis and Large Language Models for Software Quality in Education"],"prefix":"10.1145","volume":"25","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1800-9268","authenticated-orcid":false,"given":"Eman Abdullah","family":"AlOmar","sequence":"first","affiliation":[{"name":"Stevens Institute of Technology, Hoboken, New Jersey, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,5,20]]},"reference":[{"key":"e_1_3_3_2_2","first-page":"179","volume-title":"2023 IEEE\/ACM 45th International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET)","author":"AlOmar Eman Abdullah","year":"2023","unstructured":"Eman Abdullah AlOmar, Salma Abdullah AlOmar, and Mohamed Wiem Mkaouer. 2023. On the use of static analysis to engage students with software quality improvement: An experience with PMD. In 2023 IEEE\/ACM 45th International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET). IEEE, 179\u2013191."},{"key":"e_1_3_3_3_2","first-page":"348","volume-title":"2021 IEEE\/ACM 43rd International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP)","author":"AlOmar Eman Abdullah","year":"2021","unstructured":"Eman Abdullah AlOmar, Hussein AlRubaye, Mohamed Wiem Mkaouer, Ali Ouni, and Marouane Kessentini. 2021. Refactoring practices in the context of modern code review: An industrial case study at xerox. In 2021 IEEE\/ACM 43rd International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP). IEEE, 348\u2013357."},{"key":"e_1_3_3_4_2","first-page":"1","volume-title":"19th International Conference on Mining Software Repositories","author":"AlOmar Eman Abdullah","year":"2022","unstructured":"Eman Abdullah AlOmar, Moataz Chouchen, Mohamed Wiem, Mkaouer, and Ali Ouni. 2022. Code review practices for refactoring changes: An empirical study on OpenStack. In 19th International Conference on Mining Software Repositories, 1\u201313."},{"key":"e_1_3_3_5_2","first-page":"1","volume-title":"2024 36th International Conference on Software Engineering Education and Training (CSEE&T)","author":"AlOmar Eman Abdullah","year":"2024","unstructured":"Eman Abdullah AlOmar, and Mohamed Wiem Mkaouer. 2024. Cultivating software quality improvement in the classroom: An experience with ChatGPT. In 2024 36th International Conference on Software Engineering Education and Training (CSEE&T). IEEE, 1\u201310."},{"key":"e_1_3_3_6_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9378-4"},{"key":"e_1_3_3_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/273133.273182"},{"key":"e_1_3_3_8_2","unstructured":"Try Bard. 2023. An AI experiment by Google. Retrieved from https:\/\/blog.google\/technology\/ai\/try-bard\/"},{"key":"e_1_3_3_9_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2015.05.024"},{"key":"e_1_3_3_10_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-014-9313-0"},{"key":"e_1_3_3_11_2","doi-asserted-by":"crossref","first-page":"9","DOI":"10.58496\/MJCSC\/2023\/002","article-title":"Role of ChatGPT in computer programming: ChatGPT in computer programming","volume":"2023","author":"Biswas Som","year":"2023","unstructured":"Som Biswas. 2023. Role of ChatGPT in computer programming: ChatGPT in computer programming. Mesopotamian Journal of Computer Science 2023 (2023), 9\u201315.","journal-title":"Mesopotamian Journal of Computer Science"},{"key":"e_1_3_3_12_2","first-page":"337","volume-title":"2010 7th International Conference on the Quality of Information and Communications Technology","author":"Bryton S\u00e9rgio","year":"2010","unstructured":"S\u00e9rgio Bryton, Fernando Brito e Abreu, and Miguel Monteiro. 2010. Reducing subjectivity in code smells detection: Experimenting with the long method. In 2010 7th International Conference on the Quality of Information and Communications Technology. IEEE, 337\u2013342."},{"key":"e_1_3_3_13_2","unstructured":"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. Evaluating large language models trained on code. arXiv:2107.03374. Retrieved from https:\/\/arxiv.org\/abs\/2107.03374"},{"key":"e_1_3_3_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/2970276.2970347"},{"key":"e_1_3_3_15_2","first-page":"142","volume-title":"9th Annual SIGCSE Conference on Innovation and Technology in Computer Science Education","author":"Christensen Henrik B\u00e6rbak","year":"2004","unstructured":"Henrik B\u00e6rbak Christensen. 2004. Frameworks: Putting design patterns into perspective. In 9th Annual SIGCSE Conference on Innovation and Technology in Computer Science Education, 142\u2013145."},{"key":"e_1_3_3_16_2","doi-asserted-by":"publisher","DOI":"10.1109\/ESEM.2011.36"},{"key":"e_1_3_3_17_2","doi-asserted-by":"crossref","first-page":"612","DOI":"10.1109\/SANER.2018.8330266","volume-title":"2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (Saner)","author":"Nucci Dario Di","year":"2018","unstructured":"Dario Di Nucci, Fabio Palomba, Damian A. Tamburri, Alexander Serebrenik, and Andrea De Lucia. 2018. Detecting code smells using machine learning techniques: Are we there yet? In 2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (Saner). IEEE, 612\u2013621."},{"key":"e_1_3_3_18_2","volume-title":"The Power of Problem-Based Learning: A Practical \u201cHow to\u201d for Teaching Undergraduate Courses in Any Discipline","author":"Duch Barbara J.","year":"2001","unstructured":"Barbara J. Duch, Susan E. Groh, and Deborah E. Allen. 2001. The Power of Problem-Based Learning: A Practical \u201cHow to\u201d for Teaching Undergraduate Courses in Any Discipline. Stylus Publishing, LLC."},{"key":"e_1_3_3_19_2","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.2006.79"},{"issue":"2","key":"e_1_3_3_20_2","first-page":"5","article-title":"Automatic detection of bad smells in code: An experimental assessment","volume":"11","author":"Fontana Francesca Arcelli","year":"2012","unstructured":"Francesca Arcelli Fontana, Pietro Braione, and Marco Zanoni. 2012. Automatic detection of bad smells in code: An experimental assessment. Journal of Object Technology 11, 2 (2012), 5\u20131.","journal-title":"Journal of Object Technology"},{"key":"e_1_3_3_21_2","doi-asserted-by":"publisher","DOI":"10.1016\/S1364-6613(99)01294-2"},{"key":"e_1_3_3_22_2","doi-asserted-by":"publisher","DOI":"10.4108\/airo.v2i1.3276"},{"key":"e_1_3_3_23_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISSRE.2019.00040"},{"key":"e_1_3_3_24_2","doi-asserted-by":"publisher","DOI":"10.1109\/WCRE.2009.28"},{"key":"e_1_3_3_25_2","doi-asserted-by":"crossref","first-page":"2445","DOI":"10.1109\/SMC53992.2023.10394237","volume-title":"2023 IEEE International Conference on Systems, Man, and Cybernetics (SMC)","author":"Khoury Rapha\u00ebl","year":"2023","unstructured":"Rapha\u00ebl Khoury, Anderson R. Avila, Jacob Brunelle, and Baba Mamadou Camara. 2023. How secure is code generated by chatgpt? In 2023 IEEE International Conference on Systems, Man, and Cybernetics (SMC). IEEE, 2445\u20132451."},{"key":"e_1_3_3_26_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-84800-044-5_3"},{"key":"e_1_3_3_27_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2020.110610"},{"key":"e_1_3_3_28_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2022.111575"},{"key":"e_1_3_3_29_2","first-page":"79","volume-title":"21st Australasian Computing Education Conference","author":"Li Chen","year":"2019","unstructured":"Chen Li, Emily Chan, Paul Denny, Andrew Luxton-Reilly, and Ewan Tempero. 2019. Towards a framework for teaching debugging. In 21st Australasian Computing Education Conference, 79\u201386."},{"key":"e_1_3_3_30_2","first-page":"21558","article-title":"Is your code generated by chatgpt really correct? Rigorous evaluation of large language models for code generation","volume":"36","author":"Liu Jiawei","year":"2023","unstructured":"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. Advances in Neural Information Processing Systems 36 (2023), 21558\u201321572.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_3_31_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2018.2884955"},{"key":"e_1_3_3_32_2","unstructured":"Wei Ma Shangqing Liu Wenhan Wang Qiang Hu Ye Liu Cen Zhang Liming Nie and Yang Liu. 2023. The scope of ChatGPT in software engineering: A thorough investigation. arXiv:2305.12138. Retrieved from https:\/\/arxiv.org\/abs\/2305.12138"},{"key":"e_1_3_3_33_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-006-9002-8"},{"key":"e_1_3_3_34_2","first-page":"78","volume-title":"30th SIGCSE Technical Symposium on Computer Science Education","author":"Mengel Susan A.","year":"1999","unstructured":"Susan A. Mengel and Vinay Yerramilli. 1999. A case study of the static analysis of the quality of novice student programs. In 30th SIGCSE Technical Symposium on Computer Science Education, 78\u201382."},{"key":"e_1_3_3_35_2","doi-asserted-by":"publisher","DOI":"10.1186\/s40411-017-0041-1"},{"key":"e_1_3_3_36_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-017-9535-z"},{"key":"e_1_3_3_37_2","doi-asserted-by":"crossref","first-page":"161","DOI":"10.1109\/SANER.2015.7081826","volume-title":"2015 IEEE 22nd International Conference on Software Analysis, Evolution, and Reengineering (SANER)","author":"Panichella Sebastiano","year":"2015","unstructured":"Sebastiano Panichella, Venera Arnaoudova, Massimiliano Di Penta, and Giuliano Antoniol. 2015. Would static analysis tools help developers with code reviews? In 2015 IEEE 22nd International Conference on Software Analysis, Evolution, and Reengineering (SANER). IEEE, 161\u2013170."},{"key":"e_1_3_3_38_2","doi-asserted-by":"publisher","DOI":"10.1109\/SEW.2008.17"},{"key":"e_1_3_3_39_2","doi-asserted-by":"publisher","DOI":"10.3390\/app13095783"},{"key":"e_1_3_3_40_2","doi-asserted-by":"crossref","first-page":"80","DOI":"10.1145\/3544902.3546233","volume-title":"ACM\/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM)","author":"Romano Simone","year":"2022","unstructured":"Simone Romano, Fiorella Zampetti, Maria Teresa Baldassarre, Massimiliano Di Penta, and Giuseppe Scanniello. 2022. Do static analysis tools affect software quality when using test-driven development? In ACM\/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), 80\u201391."},{"key":"e_1_3_3_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/1971681.1971687"},{"key":"e_1_3_3_42_2","unstructured":"Mohammed Latif Siddiq Joanna Santos Ridwanul Hasan Tanvir Noshin Ulfat Fahmid Al Rifat and Vinicius Carvalho Lopes. 2023. Exploring the effectiveness of large language models in generating unit tests. arXiv:2305.00418. Retrieved from https:\/\/arxiv.org\/abs\/2305.00418"},{"key":"e_1_3_3_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/2950290.2950305"},{"key":"e_1_3_3_44_2","doi-asserted-by":"crossref","first-page":"101","DOI":"10.1109\/VLHCC.2017.8103456","volume-title":"2017 IEEE Symposium on Visual Languages and Human-Centric Computing (VL\/HCC)","author":"Singh Devarshi","year":"2017","unstructured":"Devarshi Singh, Varun Ramachandra Sekar, Kathryn T. Stolee, and Brittany Johnson. 2017. Evaluating how static analysis tools can reduce code review effort. In 2017 IEEE Symposium on Visual Languages and Human-Centric Computing (VL\/HCC). IEEE, 101\u2013105."},{"key":"e_1_3_3_45_2","doi-asserted-by":"publisher","DOI":"10.1109\/APR59189.2023.00012"},{"key":"e_1_3_3_46_2","unstructured":"Weisong Sun Chunrong Fang Yudu You Yun Miao Yi Liu Yuekang Li Gelei Deng Shenghan Huang Yuchen Chen Quanjun Zhang et al. 2023. Automatic code summarization via ChatGPT: How far are we? arXiv:2305.12865. Retrieved from https:\/\/arxiv.org\/abs\/2305.12865"},{"key":"e_1_3_3_47_2","unstructured":"Haoye Tian Weiqi Lu Tsz On Li Xunzhu Tang Shing-Chi Cheung Jacques Klein and Tegawend\u00e9 F. Bissyand\u00e9. 2023. Is ChatGPT the ultimate programming assistant \u2013 How far is it? arXiv:2304.11938. Retrieved from https:\/\/arxiv.org\/abs\/2304.11938"},{"key":"e_1_3_3_48_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-020-09880-1"},{"key":"e_1_3_3_49_2","doi-asserted-by":"crossref","first-page":"571","DOI":"10.1145\/3643991.3644918","volume-title":"21st International Conference on Mining Software Repositories","author":"Tufano Rosalia","year":"2024","unstructured":"Rosalia Tufano, Antonio Mastropaolo, Federica Pepe, Ozren Dabic, Massimiliano Di Penta, and Gabriele Bavota. 2024. Unveiling ChatGPT\u2019s usage in open source projects: A mining-based study. In 21st International Conference on Mining Software Repositories, 571\u2013583."},{"key":"e_1_3_3_50_2","article-title":"Goal question metric (gqm) approach","author":"Van Solingen Rini","year":"2002","unstructured":"Rini Van Solingen, Vic Basili, Gianluigi Caldiera, and H. Dieter Rombach. 2002. Goal question metric (gqm) approach. Encyclopedia of Software Engineering.","journal-title":"Encyclopedia of Software Engineering"},{"key":"e_1_3_3_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/3386252"},{"key":"e_1_3_3_52_2","unstructured":"Jules White Quchen Fu Sam Hays Michael Sandborn Carlos Olea Henry Gilbert Ashraf Elnashar Jesse Spencer-Smith and Douglas C. Schmidt. 2023. A prompt pattern catalog to enhance prompt engineering with chatgpt. arXiv:2302.11382. Retrieved from https:\/\/arxiv.org\/abs\/2302.11382"},{"key":"e_1_3_3_53_2","doi-asserted-by":"crossref","first-page":"71","DOI":"10.1007\/978-3-031-55642-5_4","volume-title":"Generative AI for Effective Software Development","author":"White Jules","year":"2024","unstructured":"Jules White, Sam Hays, Quchen Fu, Jesse Spencer-Smith, and Douglas C. Schmidt. 2024. Chatgpt prompt patterns for improving code quality, refactoring, requirements elicitation, and software design. In Generative AI for Effective Software Development. Springer, 71\u2013108."},{"key":"e_1_3_3_54_2","unstructured":"Chunqiu Steven Xia and Lingming Zhang. 2023. Keep the conversation going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPT. arXiv:2304.00385. Retrieved from https:\/\/arxiv.org\/abs\/2304.00385"},{"key":"e_1_3_3_55_2","first-page":"4582","volume-title":"IEEE Conference on Computer Vision and Pattern Recognition","author":"Xian Yongqin","year":"2017","unstructured":"Yongqin Xian, Bernt Schiele, and Zeynep Akata. 2017. Zero-shot learning-the good, the bad and the ugly. In IEEE Conference on Computer Vision and Pattern Recognition, 4582\u20134591."},{"key":"e_1_3_3_56_2","first-page":"1","volume-title":"37th IEEE\/ACM International Conference on Automated Software Engineering","author":"Yang Chenyang","year":"2022","unstructured":"Chenyang Yang, Rachel A. Brower-Sinning, Grace Lewis, and Christian K\u00e4stner. 2022. Data leakage in notebooks: Static detection and better processes. In 37th IEEE\/ACM International Conference on Automated Software Engineering, 1\u201312."},{"key":"e_1_3_3_57_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.eswa.2020.114134"},{"key":"e_1_3_3_58_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2023.3234206"}],"container-title":["ACM Transactions on Computing Education"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3722229","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3722229","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T21:57:04Z","timestamp":1750283824000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3722229"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,5,20]]},"references-count":57,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2025,6,30]]}},"alternative-id":["10.1145\/3722229"],"URL":"https:\/\/doi.org\/10.1145\/3722229","relation":{},"ISSN":["1946-6226"],"issn-type":[{"value":"1946-6226","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,5,20]]},"assertion":[{"value":"2024-05-20","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-02-20","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-05-20","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}