1. An Approach to Determine the Optimal k-Value of K-means Clustering in Adaptive Random Testing
- Author
-
Songling Qin, Jinfu Chen, Minmin Zhou, Lingling Zhao, and Yisong Liu
- Subjects
Computer science ,business.industry ,k-means clustering ,Process (computing) ,Random testing ,computer.software_genre ,Fault detection and isolation ,Set (abstract data type) ,Software ,Test case ,Data mining ,business ,Cluster analysis ,computer - Abstract
Adaptive Random Testing (ART) aims at improving detection effectiveness by evenly distributing test cases over the whole input domain. Many ART algorithms introducing clustering techniques (such as k-means Clustering) have been proposed to achieve an even spread of test cases. Though previous studies have demonstrated that ART with k-means clustering could achieve a good enhancement in testing effectiveness, k-means clustering is limited by the value of k, which will have a great impact on the test effectiveness. To improve the testing effectiveness of these techniques for object-oriented software, in this paper, we propose an approach named Determination Method of Optimal k-value based on the Experimental Process (DMOV k -EP) to determine the optimal k-value of k-means clustering and make the ART algorithms using k-means clustering technique achieve the best fault detection capability. The proposed method consists of two parts, one is a solution model for k based on the experimental process, and the other is an optimal k-value algorithm based on the presented model. We integrate this method with k-means clustering in ART and apply it to a set of open-source programs, with the experimental results showing that our approach obtains much more appropriate k, and also achieves much better testing effectiveness than other related methods.
- Published
- 2020
- Full Text
- View/download PDF