跳到主要导航 跳到搜索 跳到主要内容

Mutation-Based Approach to Supporting Human–Machine Pair Inspection

  • Yujun Dai
  • , Shaoying Liu*
  • , Haiyi Liu
  • *此作品的通讯作者
  • Hiroshima University
  • Jiangsu Second Normal University

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

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.

源语言英语
期刊论文编号382
期刊Electronics (Switzerland)
卷14
期2
DOI
出版状态已出版 - 1月 2025
已对外发布是

学术指纹

探究 'Mutation-Based Approach to Supporting Human–Machine Pair Inspection' 的科研主题。它们共同构成独一无二的学术指纹。

引用此