Skip to main navigation Skip to search Skip to main content

Mutation-Based Approach to Supporting Human–Machine Pair Inspection

  • Yujun Dai
  • , Shaoying Liu*
  • , Haiyi Liu
  • *Corresponding author for this work
  • Hiroshima University
  • Jiangsu Second Normal University

Research output: Contribution to journal › Article › peer-review

Abstract

Human–machine pair inspection refers to a technique that supports programmers and machines working together as a “pair” in source code inspection tasks. The machine provides guidance, while the programmer performs the inspection based on this guidance. Although programmers are often best suited to inspect their own code due to familiarity, overconfidence may lead them to overlook important details. This study introduces a novel mutation-based human–machine pair inspection method, which is designed to direct the programmer’s attention to specific code components by applying targeted mutations. We assess the effectiveness of code inspections by analyzing the programmer’s corrections of these mutations. Our approach involves defining mutation operators for each keyword in the program based on historical defects, developing mutation rules based on program keywords and a strategy for automatically generating mutants, and designing a code comparison strategy to quantitatively evaluate code inspection quality. Through a controlled experiment, we demonstrate the effectiveness of mutation-based human–machine pair inspection in aiding programmers during the inspection process.

Original languageEnglish
Article number382
JournalElectronics (Switzerland)
Volume14
Issue number2
DOIs
StatePublished - Jan 2025
Externally publishedYes

Keywords

  • human–machine pair inspection
  • mutation testing
  • software faults
  • software inspection
  • software reliability

Fingerprint

Dive into the research topics of 'Mutation-Based Approach to Supporting Human–Machine Pair Inspection'. Together they form a unique fingerprint.

Cite this