Please use this identifier to cite or link to this item:
https://hdl.handle.net/10216/161258| Author(s): | Avito Alexandre Costa da Silva |
| Title: | Enhancing the Readability of Automatically Generated Unit Tests with Large Language Models |
| Issue Date: | 2024-07-19 |
| Abstract: | In the pursuit of maintaining high standards in software development, the clarity of unit tests is crucial. This study investigates the application of ChatGPT, a state-of-the-art language model, to enhance the readability of unit tests. An empirical approach was employed, starting with automatically generated JUnit tests, which were then processed by ChatGPT for identifier renaming, variable name renaming, and documentation enhancement. The impact of these AI-driven refinements on readability was assessed using a combination of quantitative readability metrics and qualitative surveys. The evaluation was based on methodologies from DeepTC-Enhancer, Daka's, and TestDescriber. Our results indicate some interest on the part of developers in using ChatGPT to improve the readability of unit tests, making them more understandable. |
| Subject: | Outras ciências da engenharia e tecnologias Other engineering and technologies |
| Scientific areas: | Ciências da engenharia e tecnologias::Outras ciências da engenharia e tecnologias Engineering and technology::Other engineering and technologies |
| DOI: | 10.34626/9xwd-rw43 |
| TID identifier: | 203854020 |
| URI: | https://hdl.handle.net/10216/161258 |
| Document Type: | Dissertação |
| Rights: | restrictedAccess |
| Appears in Collections: | FEUP - Dissertação |
Files in This Item:
| File | Description | Size | Format | |
|---|---|---|---|---|
| 684142.pdf | Enhancing the Readability of Automatically Generated Unit Tests with Large Language Models | 670.38 kB | Adobe PDF | ![]() View/Open |
| 684142.1.pdf Restricted Access | Enhancing the Readability of Automatically Generated Unit Tests with Large Language Models | 702.14 kB | Adobe PDF | View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.
