Year: 2024
Type: dissertation
Abstract: The rapid advancement of generative artificial intelligence, particularly large language models, has introduced new possibilities for enhancing software engineering processes. This thesis investigates the integration of generative AI into three key areas of software development: unit test generation, code review, and code documentation. The primary goal is to evaluate the potential of generative AI to improve developer productivity by automating repetitive and time-consuming tasks. The research methodology includes a comprehensive literature review on the history and current state of artifical intelligence, and empirical experiments to assess the effectiveness of LLMs in practical software engineering tasks. The study compares the performance of AI-generated unit tests with existing manual tests using coverage metrics, evaluates AI-assisted code review tools against a dataset of deliberately introduced bugs, and examines AI-generated code documentation through expert analysis. Findings indicate that LLMs, especially GPT-4, are indeed capable of succeeding in these tasks, and can be used to streamline software development. However, they also underscores the current limitations of LLMs, such as the need for human oversight and the difficulty in handling complex code structures.
Source: Aaltodoc (Aalto University)
Author: Kähkönen, Samu
Institution: Aalto University
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W6986083420
