Content area

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.

Details

1009240
Business indexing term
Title
Mutation-Based Approach to Supporting Human–Machine Pair Inspection
Author
Dai, Yujun 1   VIAFID ORCID Logo  ; Liu, Shaoying 1   VIAFID ORCID Logo  ; Liu, Haiyi 2   VIAFID ORCID Logo 

 Graduate School of Advanced Science and Engineering, Hiroshima University, Higashihiroshima 739-8511, Japan; [email protected] (Y.D.); [email protected] (H.L.) 
 Graduate School of Advanced Science and Engineering, Hiroshima University, Higashihiroshima 739-8511, Japan; [email protected] (Y.D.); [email protected] (H.L.); School of Computer Engineering, Jiangsu Second Normal University, Nanjing 211200, China 
Publication title
Volume
14
Issue
2
First page
382
Publication year
2025
Publication date
2025
Publisher
MDPI AG
Place of publication
Basel
Country of publication
Switzerland
Publication subject
e-ISSN
20799292
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2025-01-19
Milestone dates
2024-12-20 (Received); 2025-01-17 (Accepted)
Publication history
 
 
   First posting date
19 Jan 2025
ProQuest document ID
3159490344
Document URL
https://www.proquest.com/scholarly-journals/mutation-based-approach-supporting-human-machine/docview/3159490344/se-2?accountid=208611
Copyright
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2025-01-25
Database
ProQuest One Academic