Test case selection and prioritzation for object-oriented software based on slicing and coupling

Regression testing has become more prevalent with the increasing use of iterative development as software artefacts are reused in different software development projects. The objective of regression testing is to detect fault after the software is changed. It is done by reducing the amount of time r...

Full description

Saved in:
Bibliographic Details
Main Author: Khatak, Umar Farooq
Format: Thesis
Language:English
English
English
Published: 2022
Subjects:
Online Access:http://eprints.uthm.edu.my/8500/1/24p%20UMAR%20FAROOQ%20KHATTAK.pdf
http://eprints.uthm.edu.my/8500/2/UMAR%20FAROOQ%20KHATTAK%20COPYRIGHT%20DECLARATION.pdf
http://eprints.uthm.edu.my/8500/3/UMAR%20FAROOQ%20KHATTAK%20WATERMARK.pdf
http://eprints.uthm.edu.my/8500/
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Universiti Tun Hussein Onn Malaysia
Language: English
English
English
id my.uthm.eprints.8500
record_format eprints
spelling my.uthm.eprints.85002023-04-02T01:17:19Z http://eprints.uthm.edu.my/8500/ Test case selection and prioritzation for object-oriented software based on slicing and coupling Khatak, Umar Farooq TA Engineering (General). Civil engineering (General) Regression testing has become more prevalent with the increasing use of iterative development as software artefacts are reused in different software development projects. The objective of regression testing is to detect fault after the software is changed. It is done by reducing the amount of time required for the test cases to run, the number of test cases in the test suite, or the selection of test cases that have been previously run on the system under test. However, determining the suitable test cases in regression testing is challenging, especially when managing the retesting process within a limited budget and timeframe. To address this issue, this research proposes using program slicing and coupling metrics to improve the selection and prioritisation of regression test cases specific to the affected segments of the program. In order to determine these dependencies among the program parts, this research proposed an approach for regression testing, which generated a suitable intermediate graph for object-oriented programs. In this study, the scalability of intermediate graphs was significantly improved by reducing redundant edges approximately 4.1%. Next, this study proposes regression test case selection with Optimal Hierarchical Decomposition Slice (OHDS) strategy to obtain complete coverage information nodes for the affected slice graph. Once the impactful test cases have been selected, the test cases should be prioritised to enhance the ability of the retesting process to detect early errors. In this research, the coupling metrics are used to prioritise the test cases by using an export-import factor for the affected program parts. The evaluation strategy measured the Average Percentage of Fault Detection (APFD), and the experiments produced an increase of 2.8% in APFD value. This result showed that the test cases executed only on the affected portions identified as having a high degree of Export/Import coupling are likely to detect faults earlier than other test cases within the test suite. 2022-08 Thesis NonPeerReviewed text en http://eprints.uthm.edu.my/8500/1/24p%20UMAR%20FAROOQ%20KHATTAK.pdf text en http://eprints.uthm.edu.my/8500/2/UMAR%20FAROOQ%20KHATTAK%20COPYRIGHT%20DECLARATION.pdf text en http://eprints.uthm.edu.my/8500/3/UMAR%20FAROOQ%20KHATTAK%20WATERMARK.pdf Khatak, Umar Farooq (2022) Test case selection and prioritzation for object-oriented software based on slicing and coupling. Doctoral thesis, Universiti Tun Hussein Onn Malaysia.
institution Universiti Tun Hussein Onn Malaysia
building UTHM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Tun Hussein Onn Malaysia
content_source UTHM Institutional Repository
url_provider http://eprints.uthm.edu.my/
language English
English
English
topic TA Engineering (General). Civil engineering (General)
spellingShingle TA Engineering (General). Civil engineering (General)
Khatak, Umar Farooq
Test case selection and prioritzation for object-oriented software based on slicing and coupling
description Regression testing has become more prevalent with the increasing use of iterative development as software artefacts are reused in different software development projects. The objective of regression testing is to detect fault after the software is changed. It is done by reducing the amount of time required for the test cases to run, the number of test cases in the test suite, or the selection of test cases that have been previously run on the system under test. However, determining the suitable test cases in regression testing is challenging, especially when managing the retesting process within a limited budget and timeframe. To address this issue, this research proposes using program slicing and coupling metrics to improve the selection and prioritisation of regression test cases specific to the affected segments of the program. In order to determine these dependencies among the program parts, this research proposed an approach for regression testing, which generated a suitable intermediate graph for object-oriented programs. In this study, the scalability of intermediate graphs was significantly improved by reducing redundant edges approximately 4.1%. Next, this study proposes regression test case selection with Optimal Hierarchical Decomposition Slice (OHDS) strategy to obtain complete coverage information nodes for the affected slice graph. Once the impactful test cases have been selected, the test cases should be prioritised to enhance the ability of the retesting process to detect early errors. In this research, the coupling metrics are used to prioritise the test cases by using an export-import factor for the affected program parts. The evaluation strategy measured the Average Percentage of Fault Detection (APFD), and the experiments produced an increase of 2.8% in APFD value. This result showed that the test cases executed only on the affected portions identified as having a high degree of Export/Import coupling are likely to detect faults earlier than other test cases within the test suite.
format Thesis
author Khatak, Umar Farooq
author_facet Khatak, Umar Farooq
author_sort Khatak, Umar Farooq
title Test case selection and prioritzation for object-oriented software based on slicing and coupling
title_short Test case selection and prioritzation for object-oriented software based on slicing and coupling
title_full Test case selection and prioritzation for object-oriented software based on slicing and coupling
title_fullStr Test case selection and prioritzation for object-oriented software based on slicing and coupling
title_full_unstemmed Test case selection and prioritzation for object-oriented software based on slicing and coupling
title_sort test case selection and prioritzation for object-oriented software based on slicing and coupling
publishDate 2022
url http://eprints.uthm.edu.my/8500/1/24p%20UMAR%20FAROOQ%20KHATTAK.pdf
http://eprints.uthm.edu.my/8500/2/UMAR%20FAROOQ%20KHATTAK%20COPYRIGHT%20DECLARATION.pdf
http://eprints.uthm.edu.my/8500/3/UMAR%20FAROOQ%20KHATTAK%20WATERMARK.pdf
http://eprints.uthm.edu.my/8500/
_version_ 1762394685999939584