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 条
  • [41] Temperature measuring based on image processing
    Tian, QC
    ISTM/2005: 6th International Symposium on Test and Measurement, Vols 1-9, Conference Proceedings, 2005, : 6223 - 6226
  • [42] Development of a noncontact liquid level measuring system using image processing
    Takagi, Y
    Tsujikawa, A
    Takato, M
    Saito, T
    Kaida, M
    WATER SCIENCE AND TECHNOLOGY, 1998, 37 (12) : 381 - 387
  • [43] Investigating the effectiveness of object-oriented testing strategies using the mutation method
    Kim, SW
    Clark, JA
    McDermid, JA
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2001, 11 (04) : 207 - 225
  • [44] Automated Functional Testing of Search Engines using Metamorphic Testing
    Wang, Xinyi
    Yi, Gaolei
    Wang, Yichen
    2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021), 2021, : 22 - 29
  • [45] Testing Web Enabled Simulation at Scale Using Metamorphic Testing
    Ahlgren, John
    Berezin, Maria Eugenia
    Bojarczuk, Kinga
    Dulskyte, Elena
    Dvortsova, Inna
    George, Johann
    Gucevska, Natalija
    Harman, Mark
    Lomeli, Maria
    Meijer, Erik
    Sapora, Silvia
    Spahr-Summers, Justin
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP 2021), 2021, : 140 - 149
  • [46] TestMC: Testing Model Counters using Differential and Metamorphic Testing
    Usman, Muhammad
    Wang, Wenxi
    Khurshid, Sarfraz
    2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 709 - 721
  • [47] Using constraint solvers to support metamorphic testing
    Carmen de Castro-Cabrera, M.
    Garcia-Dominguez, Antonio
    Medina-Bulo, Inmaculada
    2019 IEEE/ACM 4TH INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET 2019), 2019, : 32 - 39
  • [48] Robustness Evaluation of Stacked Generative Adversarial Networks using Metamorphic Testing
    Park, Hyejin
    Waseem, Taaha
    Teo, Wen Qi
    Low, Ying Hwei
    Lim, Mei Kuan
    Chong, Chun Yong
    2021 IEEE/ACM 6TH INTERNATIONAL WORKSHOP ON METAMORPHIC TESTING (MET 2021), 2021, : 1 - 8
  • [49] Evaluating the effectiveness of neuron coverage metrics: a metamorphic-testing approach
    Zhou, Zenghui
    Poon, Pak-Lok
    Chen, Tsong Yueh
    Qiu, Kun
    Zhao, Qinghua
    Zheng, Zheng
    SOFTWARE QUALITY JOURNAL, 2025, 33 (02)
  • [50] Using metamorphic relations to verify and enhance Artcode classification
    Xu, Liming
    Towey, Dave
    French, Andrew P.
    Benford, Steve
    Zhou, Zhi Quan
    Chen, Tsong Yueh
    JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 182