paper-with-me

홈 › Papers

HEDP: A Method for Early Forecasting Software Defects based on Human Error Mechanisms

2021-10-13 · Fuqun Huang, Lorenzo Strigini

As the primary cause of software defects, human error is the key to understanding, and perhaps to predicting and avoiding them. Little research has been done to predict defects on the basis of the cognitive errors that cause them. This paper proposes an approach to predicting software defects through knowledge about the cognitive mechanisms of human errors. Our theory is that the main process behind a software defect is that an error-prone scenario triggers human error modes, which psychologists have observed to recur across diverse activities. Software defects can then be predicted by identifying such scenarios, guided by this knowledge of typical error modes. The proposed idea emphasizes predicting the exact location and form of a possible defect. We conducted two case studies to demonstrate and validate this approach, with 55 programmers in a programming competition and 5 analysts serving as the users of the approach. We found it impressive that the approach was able to predict, at the requirement phase, the exact locations and forms of 7 out of the 22 (31.8%) specific types of defects that were found in the code. The defects predicted tended to be common defects: their occurrences constituted 75.7% of the total number of defects in the 55 developed programs; each of them was introduced by at least two persons. The fraction of the defects introduced by a programmer that were predicted was on average (over all programmers) 75%. Furthermore, these predicted defects were highly persistent through the debugging process. If the prediction had been used to successfully prevent these defects, this could have saved 46.2% of the debugging iterations. This excellent capability of forecasting the exact locations and forms of possible defects at the early phases of software development recommends the approach for substantial benefits to defect prevention and early detection.

📄 PDF Abstract BibTeX arXiv:2110.06758

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A Defect is Being Born: How Close Are We? A Time Sensitive Forecasting Approach

2026-01-05 · Mikel Robredo, Matteo Esposito, Fabio Palomba, Rafael Peñaloza 외 arxiv

Background. Defect prediction has been a highly active topic among researchers in the Empirical Software Engineering field. Previous literature has successfully achieved the most accurate prediction of an incoming fault …

Designing forecasting software for forecast users: Empowering non-experts to create and understand their own forecasts

2024-04-22 · Richard Stromer, Oskar Triebe, Chad Zanocco, Ram Rajagopal

Forecasts inform decision-making in nearly every domain. Forecasts are often produced by experts with rare or hard to acquire skills. In practice, forecasts are often used by domain experts and managers with little forec…

Decision Making

HEDP: A Hybrid Energy-Distance Prompt-based Framework for Domain Incremental Learning

2026-05-07 · Yu Feng, Zhen Tian, Haoran Luo, Xie Yu 외 arxiv

Domain Incremental Learning is a critical scenario that requires models to continuously adapt to new data domains without retraining. However, domain shifts often cause severe performance degradation. To address this, we…

Incremental Learning

Quantum vs. Classical Machine Learning Algorithms for Software Defect Prediction: Challenges and Opportunities

2024-12-10 · Md Nadim, Mohammad Hassan, Ashis Kumar Mandal, Chanchal K. Roy

Software defect prediction is a critical aspect of software quality assurance, as it enables early identification and mitigation of defects, thereby reducing the cost and impact of software failures. Over the past few ye…

Quantum Machine Learning

A Review On Software Defects Prediction Methods

2020-10-30 · Mitt Shah, Nandit Pujara

Software quality is one of the essential aspects of a software. With increasing demand, software designs are becoming more complex, increasing the probability of software defects. Testers improve the quality of software …

Prediction