MRTCNN: A Lightweight Approach for Predicting Metamorphic Relations

Metamorphic testing is a software testing technique that provides both a test case generation strategy and a test result verification mechanism. Its foundation is a set of metamorphic relations, which are basically the necessary properties of the software under test, represented in the form of relationships among multiple inputs and corresponding expected outputs. As the core element of metamorphic testing, metamorphic relations have attracted lots of research interests from different perspectives, among which one major direction is to identify metamorphic relations suitable for certain types of programs. In order to reduce the manual work in the identification process, machine learning techniques have been leveraged to predict valid metamorphic relations for scientific software. In this paper, we present a new approach for predicting metamorphic relations based on the deep learning of the program documentation. In particular, we make use of the text convolutional neural networks in the prediction and validation of proper metamorphic relations. Empirical studies have also been conducted to evaluate the applicability and performance of our approach. The experimental results demonstrate its effectiveness in predicting appropriate metamorphic relations for the testing of various Java programs. Compared with the existing baseline techniques, our approach improves the precision and accuracy of the metamorphic relation prediction process. This study also reveals potential research opportunities for advancing the performance of metamorphic testing.

Authors

Institutions

Publication Details

Published
2024-12-03
DOI
https://doi.org/10.1109/apsec65559.2024.00072
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MRTCNN: A Lightweight Approach for Predicting Metamorphic Relations

Huai Liu, Bo Yang, Xu Wang
Semantic Web and Ontologies
article

MRTCNN: A Lightweight Approach for Predicting Metamorphic Relations

Huai Liu, Bo Yang, Xu Wang
article en

Abstract

Metamorphic testing is a software testing technique that provides both a test case generation strategy and a test result verification mechanism. Its foundation is a set of metamorphic relations, which are basically the necessary properties of the software under test, represented in the form of relationships among multiple inputs and corresponding expected outputs. As the core element of metamorphic testing, metamorphic relations have attracted lots of research interests from different perspectives, among which one major direction is to identify metamorphic relations suitable for certain types of programs. In order to reduce the manual work in the identification process, machine learning techniques have been leveraged to predict valid metamorphic relations for scientific software. In this paper, we present a new approach for predicting metamorphic relations based on the deep learning of the program documentation. In particular, we make use of the text convolutional neural networks in the prediction and validation of proper metamorphic relations. Empirical studies have also been conducted to evaluate the applicability and performance of our approach. The experimental results demonstrate its effectiveness in predicting appropriate metamorphic relations for the testing of various Java programs. Compared with the existing baseline techniques, our approach improves the precision and accuracy of the metamorphic relation prediction process. This study also reveals potential research opportunities for advancing the performance of metamorphic testing.

Chinese Academy of Sciences (CN), Beijing Forestry University (CN), Institute of Information Engineering (CN)
Climate action
Openalex Percentile: Top 73%
Semantic Web and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

MRTCNN: A Lightweight Approach for Predicting Metamorphic Relations — Huai Liu, Bo Yang, et al. · (2024) | TGRS Research Map | TGRS