Please use this identifier to cite or link to this item: https://cuir.car.chula.ac.th/handle/123456789/82972
Title: Class-level and token-level approaches for test impact analysis
Other Titles: วิธีระดับคลาสและระดับโทเค็นสำหรับการวิเคราะห์ผลกระทบจากการทดสอบ
Authors: Alon Basin
Advisors: Arthorn Luangsodsai
Krung Sinapiromsaran
Other author: Chulalongkorn University. Faculty of Sciences
Issue Date: 2022
Publisher: Chulalongkorn University
Abstract: The objective of the thesis is to examine the efficacy of test impact analysis in a setting of continuous testing, where automated test cases are routinely run to guarantee the integration of high-quality codes. While continuous testing can enhance code quality and minimize maintenance workload, it also leads to a notable rise in overhead for test execution. In our study on test impact analysis, we developed a novel static class level technique that utilizes JavaParser to create a dependency graph between test cases and source code classes based on abstract syntax trees. We applied this technique to seven Java systems and evaluated it against two configurations and discovered a correlation between the effectiveness of test impact analysis and the degree of interdependence between test cases and source code classes. Our study confirmed previous research indicating that even with minimal code changes in commits, roughly 40% of test cases were impacted and required execution on average in the first configuration (changed source files), while approximately 58% of test cases were impacted on average in the second configuration (changed class tokens). Nevertheless, despite these findings, we assert that test impact analysis is an effective tool for reducing test overhead. Moreover, we compared our proposed test impact analysis (TIA) technique with a state-of-the-art static class-level technique on commonly studied systems and observed that our approach achieved an improvement of approximately 13% in selecting impacted tests in the changed source files configuration, while it underperformed by about 6.5% in the changed class tokens configuration.
Description: Thesis (M.Sc.)--Chulalongkorn University, 2022
Degree Name: Master of Science
Degree Level: Master's Degree
Degree Discipline: Computer Science and Information Technology
URI: https://cuir.car.chula.ac.th/handle/123456789/82972
URI: http://doi.org/10.58837/CHULA.THE.2022.110
metadata.dc.identifier.DOI: 10.58837/CHULA.THE.2022.110
Type: Thesis
Appears in Collections:Sci - Theses

Files in This Item:
File Description SizeFormat 
6478024123.pdf2.8 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.