Test Case Reuse Based on Software Testing Knowledge Graph and Collaborative Filtering Recommendation Algorithm

被引:3
|
作者
Yang, Wansheng [1 ]
Deng, Fei [1 ]
Ma, Siyou [1 ]
Wu, Linbo [1 ]
Sun, Zhe [1 ]
Hu, Chi [1 ]
机构
[1] China Acad Engn Phys, Inst Comp Applicat, Mianyang, Sichuan, Peoples R China
关键词
software testing knowledge graph; collaborative filtering; BERT plus Bi-LSTM-CRF; defect-occurrence-chain; overt variable factorization model;
D O I
10.1109/QRS-C55045.2021.00020
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
As an important role of software test, the reuse of test cases is essential in terms of finding software defects and locating the causes of them. However, the existing related approaches are insufficient to establish an internal relationship between test cases and defects and their abilities to find or diagnose errors are limited. In this paper, an ontology model based on the software testing process is applied to establish a software testing knowledge graph, which serves as the foundation to build an recommendation system. Specifically, the recommendation system takes the functions of software under test as the "user", and the defect-occurrence-chain which establishes the correlation between test cases and defects in the knowledge graph as the "item". Both of them provide the evidence to build collaborative filtering recommendation algorithm based on the user-item scoring matrix. It aims to assist testers in recommending reusable test cases to identify software errors effectively. Against this background, the BERT+Bi-LSTM-CRF model is selected to extract the latent test requirements of the software under test, and an overt variable factorization model is built so as to iteratively optimize the user-item scoring matrix. Further, an empirical study has been conducted, and it is found that the recommended test cases can significantly help testers find software defects faster in a more efficient way, and locate defects more accurately.
引用
收藏
页码:67 / 76
页数:10
相关论文
共 50 条
  • [1] A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative Filtering
    Jiang, Bo
    Yang, Junchen
    Qin, Yanbin
    Wang, Tian
    Wang, Muchou
    Pan, Weifeng
    IEEE ACCESS, 2021, 9 (09): : 50880 - 50892
  • [2] Collaborative filtering recommendation algorithm based on graph theory
    Department of Information and Engineering, Yanshan University, Qinhuangdao 066000, China
    不详
    J. Comput. Inf. Syst., 2007, 5 (1783-1788): : 1783 - 1788
  • [3] Top-N Collaborative Filtering Recommendation Algorithm Based on Knowledge Graph Embedding
    Zhu, Ming
    Zhen, De-sheng
    Tao, Ran
    Shi, You-qun
    Feng, Xiang-yang
    Wang, Qian
    KNOWLEDGE MANAGEMENT IN ORGANIZATIONS, KMO 2019, 2019, 1027 : 122 - 134
  • [4] A Collaborative filtering recommendation algorithm based on Domain Knowledge
    Xiao Min
    Zhang Hongfei
    Yu Xiaogao
    PROCEEDINGS OF THE 2008 INTERNATIONAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE AND DESIGN, VOL 2, 2008, : 220 - +
  • [5] Fusion Recommendation System Based on Collaborative Filtering and Knowledge Graph
    Lu, Donglei
    Zhu, Dongjie
    Du, Haiwen
    Sun, Yundong
    Wang, Yansong
    Li, Xiaofang
    Qu, Rongning
    Cao, Ning
    Higgs, Russell
    COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2022, 42 (03): : 1133 - 1146
  • [6] Friends recommendation algorithm based on graph mining and collaborative filtering
    Bin, Zhang
    Dong, Wang Xiao
    ADVANCES IN COMPUTING, CONTROL AND INDUSTRIAL ENGINEERING, 2012, 235 : 399 - 402
  • [7] Research on Learning Resource Recommendation Based on Knowledge Graph and Collaborative Filtering
    Niu, Yanmin
    Lin, Ran
    Xue, Han
    APPLIED SCIENCES-BASEL, 2023, 13 (19):
  • [8] WeMap Recommendation by Fusion of Knowledge Graph and Collaborative Filtering
    Niu X.
    Yang J.
    Yan H.
    Journal of Geo-Information Science, 2024, 26 (04) : 967 - 977
  • [9] KGCFRec: Improving Collaborative Filtering Recommendation with Knowledge Graph
    Peng, Jiquan
    Gong, Jibing
    Zhou, Chao
    Zang, Qian
    Fang, Xiaohan
    Yang, Kailun
    Yu, Jing
    ELECTRONICS, 2024, 13 (10)
  • [10] Software Test Cases Recommendation System Research based on Collaborative Filtering
    Ge Jianxin
    Liu Jiaomin
    2016 17TH IEEE/ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING (SNPD), 2016, : 557 - 562