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

Utilizing Risk Number and Program Slicing to Improve Human-Machine Pair Inspection

  • Yujun Dai
  • , Shaoying Liu*
  • , Guangquan Xu
  • , Ai Liu
  • *此作品的通讯作者
  • Hiroshima University
  • Tianjin University

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Human-Machine Pair Inspection (HMPI) is a novel code inspection technology proposed in our previous work, which is the style that machine will intelligently guide the programmer to carry out inspections of the program code during programming. For large-scale software projects, the efficiency of HMPI needs to be improved due to the inaccurate measurement of the code structure and the excessive inspection scope. In this paper, to alleviate the above deficiencies, we propose the Risk Number, a code evaluation metric generated based on historical error data. The Risk Number is calculated by a statistical tool called regression analysis, which more accurately indicates the relationship between the nested structure of the code and the likelihood of containing bugs than Cognitive Complexity. Additionally, HMPI is supported by utilizing Risk Number to point out high-risk code and program slicing techniques to extract statements that have dependencies on the code to generate checklists, thereby reducing the scope of inspection. We describe a case study to evaluate the performance of this method by comparing its inspection time and number of detected errors with our previous work. The result shows that the method is likely to guide the programmer to inspect the faulty code earlier and be more efficient in detecting defects than HMPI based on Cognitive Complexity.

源语言英语
主期刊名Proceedings - 2023 27th International Conference on Engineering of Complex Computer Systems, ICECCS 2023
出版商Institute of Electrical and Electronics Engineers Inc.
页108-115
页数8
ISBN(电子版)9798350340044
DOI
出版状态已出版 - 2023
已对外发布是
活动27th International Conference on Engineering of Complex Computer Systems, ICECCS 2023 - Toulouse, 法国
期限: 14 6月 2023 → 16 6月 2023

丛书

姓名Proceedings of the IEEE International Conference on Engineering of Complex Computer Systems, ICECCS
ISSN(印刷版)2770-8527
ISSN(电子版)2770-8535

会议

会议27th International Conference on Engineering of Complex Computer Systems, ICECCS 2023
国家/地区法国
市Toulouse
时期14/06/23 → 16/06/23

学术指纹

探究 'Utilizing Risk Number and Program Slicing to Improve Human-Machine Pair Inspection' 的科研主题。它们共同构成独一无二的学术指纹。

引用此