An Enhancement of Multi-Factor Weighted Approach Technique in Prioritizing Test Cases by Comparing Similarity Distance

Authors

  • Alaa Alrhman Mohammed Raweh Al-Shaibani Department of Software Engineering, Faculty of Computing, Universiti Teknologi Malaysia, 81310 Johor Bahru, Johor, Malaysia
  • Johanna Ahmad Department of Software Engineering, Faculty of Computing, Universiti Teknologi Malaysia, 81310 Johor Bahru, Johor, Malaysia
  • Rohayanti Hassan Department of Software Engineering, Faculty of Computing, Universiti Teknologi Malaysia, 81310 Johor Bahru, Johor, Malaysia
  • Salmi Baharom Faculty of Computer Science and Technology, Universiti Putra Malaysia, 43400 Serdang, Selangor, Malaysia
  • Dwinta Suci Antari Universitas Internasional Batam, Kota Batam, Kepulauan Riau 29426, Indonesia

DOI:

https://doi.org/10.37934/araset.50.1.238249

Keywords:

Mutation testing, Test case prioritization, Distance, Software testing, Jester mutation tool

Abstract

Software testing is one of the most critical phases in the software development life cycle model (SDLC), where the quality of a software product is evaluated. Test case prioritization (TCP) is used to prioritize and schedule test case execution to conduct higher-priority test cases to optimize the software testing process. Traditionally, techniques rely on source code or a specification for the tested system. Therefore, numerous factors and techniques have been used to optimize the prioritization process. One of the factors is distance. String Distance aims to find the degree of similarity between the test cases, which helps prioritize the test case according to the dissimilar value. The higher the dissimilarity value, the higher the probability of detecting new faults. Previous research has used Jaccard Distance to measure the distance to prioritize test cases with the same priority value. In the meantime, the Manhattan Distance is used in this research as it provides a better measure of distance. Our aim of this research is to compare and evaluate both Jaccard and Manhattan Distance algorithms in terms of their effectiveness to formulate the enhancement of the previous multi-factor weighted Approach. The research experiment has shown the process of calculating the Distance matrix for the sample Java Programs and subsequent evaluation using the mutation testing approach and APFD calculation. The results of The Average Percentage of Fault Detected (APFD) of the Test case prioritization by the Manhattan Distance matrix have obtained a higher value, validating its hypothesized effectiveness.

Downloads

Download data is not yet available.

Author Biographies

Alaa Alrhman Mohammed Raweh Al-Shaibani, Department of Software Engineering, Faculty of Computing, Universiti Teknologi Malaysia, 81310 Johor Bahru, Johor, Malaysia

alaaalrhmansh@gmail.com

Johanna Ahmad, Department of Software Engineering, Faculty of Computing, Universiti Teknologi Malaysia, 81310 Johor Bahru, Johor, Malaysia

johanna@utm.my

Rohayanti Hassan, Department of Software Engineering, Faculty of Computing, Universiti Teknologi Malaysia, 81310 Johor Bahru, Johor, Malaysia

rohayanti@utm.my

Salmi Baharom, Faculty of Computer Science and Technology, Universiti Putra Malaysia, 43400 Serdang, Selangor, Malaysia

salmi@upm.edu.my

Dwinta Suci Antari, Universitas Internasional Batam, Kota Batam, Kepulauan Riau 29426, Indonesia

dwinta@uib.ac.id

Published

2024-08-13

How to Cite

Al-Shaibani, A. A. M. R., Ahmad, J., Hassan, R., Baharom, S., & Antari, D. S. (2024). An Enhancement of Multi-Factor Weighted Approach Technique in Prioritizing Test Cases by Comparing Similarity Distance. Journal of Advanced Research in Applied Sciences and Engineering Technology, 50(1), 238–249. https://doi.org/10.37934/araset.50.1.238249

Issue

Section

Articles