PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 28, 2026Journal of King Saud University - Computer and Information Sciences0 citationsOpen Access

A metamorphic relation recommendation method utilizing program syntax and semantic similarity

YZYin ZhaoMLMeng LiZLZhuting Luo

Key Points

  • The study aims to improve the identification of metamorphic relations in new programs by recommending existing verified relations based on program similarities.
  • Utilized metamorphic testing to address the oracle problem.
  • Developed SimiMR to recommend metamorphic relations for new code.
  • Grouped metamorphic relations based on program syntax and semantic similarity.
  • Conducted experiments to test the reusability of metamorphic relations among similar programs.
  • SimiMR effectively identifies reusable metamorphic relations in code models with similar syntax.
  • Proven that physical or computational model relations apply to semantically similar programs.
  • SimiMR outperforms AutoMR by enhancing identification efficiency and reducing redundancy.

Abstract

Metamorphic testing is a valuable approach for addressing the oracle problem, with the identification of metamorphic relations being a crucial task. Despite the availability of metamorphic relations in previously studied programs, many current studies do not leverage them, resulting in inefficiencies and reliability challenges when identifying metamorphic relations in new programs. SimiMR proposes the recommendation of verified metamorphic relations for new code by leveraging similarities with existing programs. This approach is based on the assumption that akin programs exhibit akin metamorphic relations, thus linking program similarity with metamorphic relations classification: semantic similarity corresponds with physical and computational model metamorphic relations, whereas syntactic similarity corresponds with code model ones. Experiments demonstrate that metamorphic relations in code models are effectively reusable among programs with similar syntax, whereas those in physical or computational models can be applied to semantically similar programs. SimiMR surpasses AutoMR and similar methods by enhancing identification efficiency, extending applicability, and minimizing redundancy. It operates with minimal domain knowledge, leverages existing metamorphic relations, and keeps identification costs low.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Zhao et al. (2026) studied this question.

synapsesocial.com/papers/69a285da0a974eb0d3c00d12https://doi.org/10.1007/s44443-026-00597-7
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1GenMorph: Automatically Generating Metamorphic Relations via Genetic Programming2024 · 20 citations
  2. 2An enhanced transformer-based framework for interpretable code clone detection2025 · 5 citations
  3. 3Testing Graph Database Systems via Graph-Aware Metamorphic Relations2023 · 21 citations
  4. 4Evaluating semantic similarity and relatedness between concepts by combining taxonomic and non-taxonomic semantic features of WordNet and Wikipedia2023 · 17 citations
  5. 5Identifying metamorphic relations: A data mutation directed approach2023 · 5 citations