Measuring Effectiveness of Metamorphic Relations for Image Processing Using Mutation Testing

被引:0
|
作者
Jafari, Fakeeha [1 ]
Nadeem, Aamer [1 ]
机构
[1] Capital Univ Sci & Technol, Dept Comp Sci, Islamabad 44000, Pakistan
关键词
image processing; metamorphic relations; metamorphic testing; mutation testing;
D O I
10.3390/jimaging10040087
中图分类号
TB8 [摄影技术];
学科分类号
0804 ;
摘要
Testing an intricate plexus of advanced software system architecture is quite challenging due to the absence of test oracle. Metamorphic testing is a popular technique to alleviate the test oracle problem. The effectiveness of metamorphic testing is dependent on metamorphic relations (MRs). MRs represent the essential properties of the system under test and are evaluated by their fault detection rates. The existing techniques for the evaluation of MRs are not comprehensive, as very few mutation operators are used to generate very few mutants. In this research, we have proposed six new MRs for dilation and erosion operations. The fault detection rate of six newly proposed MRs is determined using mutation testing. We have used eight applicable mutation operators and determined their effectiveness. By using these applicable operators, we have ensured that all the possible numbers of mutants are generated, which shows that all the faults in the system under test are fully identified. Results of the evaluation of four MRs for edge detection show an improvement in all the respective MRs, especially in MR1 and MR4, with a fault detection rate of 76.54% and 69.13%, respectively, which is 32% and 24% higher than the existing technique. The fault detection rate of MR2 and MR3 is also improved by 1%. Similarly, results of dilation and erosion show that out of 8 MRs, the fault detection rates of four MRs are higher than the existing technique. In the proposed technique, MR1 is improved by 39%, MR4 is improved by 0.5%, MR6 is improved by 17%, and MR8 is improved by 29%. We have also compared the results of our proposed MRs with the existing MRs of dilation and erosion operations. Results show that the proposed MRs complement the existing MRs effectively as the new MRs can find those faults that are not identified by the existing MRs.
引用
收藏
页数:22
相关论文
共 50 条
  • [31] Identifying Implementation Bugs in Machine Learning Based Image Classifiers using Metamorphic Testing
    Dwarakanath, Anurag
    Ahuja, Manish
    Sikand, Samarth
    Rao, Raghotham M.
    Bose, R. P. Jagadeesh Chandra
    Dubash, Neville
    Podder, Sanjay
    ISSTA'18: PROCEEDINGS OF THE 27TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2018, : 118 - 128
  • [32] Testing bidirectional model transformation using metamorphic testing
    He, Xiao
    Chen, Xing
    Cai, Sibo
    Zhang, Ying
    Huang, Gang
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 104 : 109 - 129
  • [33] Using Category Partition to Detect Metamorphic Relations
    Pedram, Saba
    Labiche, Yvan
    PROCEEDINGS OF THE 9TH ACM INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING, MET 2024, 2024, : 10 - 17
  • [34] Using Source Code Metrics for Predicting Metamorphic Relations at Method Level
    Duque-Torres, Alejandra
    Pfahl, Dietmar
    Klammer, Claus
    Fischer, Stefan
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 1147 - 1154
  • [35] WELD TESTING USING EDDY CURRENT PROBES AND IMAGE PROCESSING
    Postolache, Octavian
    Ribeiro, Artur Lopes
    Ramos, Helena
    XIX IMEKO WORLD CONGRESS: FUNDAMENTAL AND APPLIED METROLOGY, PROCEEDINGS, 2009, : 438 - 442
  • [36] Leveraging Mutants for Automatic Prediction of Metamorphic Relations using Machine Learning
    Nair, Aravind
    Meinke, Karl
    Eldh, Sigrid
    PROCEEDINGS OF THE 3RD ACM SIGSOFT INTERNATIONAL WORKSHOP ON MACHINE LEARNING TECHNIQUES FOR SOFTWARE QUALITY EVALUATION (MALTESQUE '19), 2019, : 1 - 6
  • [37] On the Correlation between the Effectiveness of Metamorphic Relations and Dissimilarities of Test Case Executions
    Cao, Yuxiang
    Zhou, Zhi Quan
    Chen, Tsong Yueh
    2013 13TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC), 2013, : 153 - 162
  • [38] Effectiveness of symmetric metamorphic relations on validating the stability of code generation LLM
    Chan, Pak Yuen Patrick
    Keung, Jacky
    Yang, Zhen
    JOURNAL OF SYSTEMS AND SOFTWARE, 2025, 222
  • [39] The Impact of Source Test Case Selection on the Effectiveness of Metamorphic Testing
    Barus, Arlinta Christy
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    Schmidt, Heinz W.
    2016 IEEE/ACM 1ST INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET), 2016, : 5 - 11
  • [40] Metamorphic Testing of Image Captioning Systems via Image-Level Reduction
    Xie, Xiaoyuan
    Li, Xingpeng
    Chen, Songqiang
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (11) : 2962 - 2982