Test-suite Reduction Based on K-medoids Clustering Algorithm

被引:5
|
作者
Liu, Feng [1 ]
Zhang, Jun [1 ]
Zhu, Er-Zhou [1 ]
机构
[1] Anhui Univ, Sch Comp Sci & Technol, Hefei, Anhui, Peoples R China
基金
中国国家自然科学基金;
关键词
test suite reduction; k-medoids; code coverage; cluster analysis;
D O I
10.1109/CyberC.2017.38
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software testing is a key approach to guarantee the software quality. It is the objective unremittingly pursed by virtue of effective testing cases in the shortest time. The test suite optimization method is a NP-complete problem. Although some people apply k-means clustering algorithm to the test suite reduction, the algorithm is unstable and seldom considers the coverage rate of such test cases; as a result, it will waste many unnecessary testing time in redundant cases and always result in high cost. Therefore, this paper introduces k-medoids thought of the clustering algorithm and then proposes a method of parameter generation test suite characterized by cyclomatic complexity and code coverage rate. This method utilizes the greedy algorithm to process the streamlined test suite while guaranteeing the cases coverage rate and the error detection rate finally gain the minimal test suite. As indicated by the stimulation experimental results, our method features higher coverage rate with lower complexity under the streamlined test suite of the same quantity.
引用
收藏
页码:186 / 192
页数:7
相关论文
共 50 条
  • [1] A genetic k-medoids clustering algorithm
    Weiguo Sheng
    Xiaohui Liu
    [J]. Journal of Heuristics, 2006, 12 : 447 - 466
  • [2] An improved k-medoids clustering algorithm
    Cao, Danyang
    Yang, Bingru
    [J]. 2010 2ND INTERNATIONAL CONFERENCE ON COMPUTER AND AUTOMATION ENGINEERING (ICCAE 2010), VOL 3, 2010, : 132 - 135
  • [3] A genetic k-medoids clustering algorithm
    Sheng, Weiguo
    Liu, Xiaohui
    [J]. JOURNAL OF HEURISTICS, 2006, 12 (06) : 447 - 466
  • [4] Parallel K-Medoids Clustering Algorithm Based on Hadoop
    Jiang, Yaobin
    Zhang, Jiongmin
    [J]. 2014 5TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2014, : 649 - 652
  • [5] A Parallel K-Medoids Algorithm for Clustering based on MapReduce
    Shafiq, M. Omair
    Torunski, Eric
    [J]. 2016 15TH IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA 2016), 2016, : 502 - 507
  • [6] An Efficient Density based Improved K-Medoids Clustering algorithm
    Pratap, Raghuvira A.
    Vani, K. Suvarna
    Devi, J. Rama
    Rao, K. Nageswara
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2011, 2 (06) : 49 - 54
  • [7] A Bisecting K-Medoids clustering Algorithm Based on Cloud Model
    Sun, D.
    Fei, H.
    Li, Q.
    [J]. IFAC PAPERSONLINE, 2018, 51 (11): : 308 - 315
  • [8] A simple and fast algorithm for K-medoids clustering
    Park, Hae-Sang
    Jun, Chi-Hyuck
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2009, 36 (02) : 3336 - 3341
  • [9] A K-medoids based Clustering Algorithm for Wireless Sensor Networks
    Wang, Jin
    Wang, Kai
    Niu, Junming
    Liu, Wei
    [J]. 2018 INTERNATIONAL WORKSHOP ON ADVANCED IMAGE TECHNOLOGY (IWAIT), 2018,
  • [10] A genetic algorithm for test-suite reduction
    Ma, XY
    Sheng, BK
    He, ZF
    Ye, CQ
    [J]. INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOL 1-4, PROCEEDINGS, 2005, : 133 - 139