Please use this identifier to cite or link to this item: https://hdl.handle.net/10316/114798
DC FieldValueLanguage
dc.contributor.authorHuang, Fuqun-
dc.contributor.authorStrigini, Lorenzo-
dc.date.accessioned2024-04-12T08:40:01Z-
dc.date.available2024-04-12T08:40:01Z-
dc.date.issued2021-10-13-
dc.identifier.issn2169-3536pt
dc.identifier.urihttps://hdl.handle.net/10316/114798-
dc.description30 pages, 5 figures, and 17 tablespt
dc.description.abstractAs 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.pt
dc.language.isoengpt
dc.publisherIEEEpt
dc.rightsopenAccesspt
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/pt
dc.subjectDefect forecastpt
dc.subjectdefect preventionpt
dc.subjecthuman errorpt
dc.subjectprogramming cognitionpt
dc.subjectsoftware quality assurancept
dc.titleHEDF: A Method for Early Forecasting Software Defects based on Human Error Mechanismspt
dc.typearticle-
degois.publication.firstPage3626pt
degois.publication.lastPage3652pt
degois.publication.titleIEEE Accesspt
dc.peerreviewedyespt
dc.identifier.doi10.1109/ACCESS.2023.3234490pt
degois.publication.volume11pt
dc.date.embargo2021-10-13*
uc.date.periodoEmbargo0pt
item.openairetypearticle-
item.fulltextCom Texto completo-
item.languageiso639-1en-
item.grantfulltextopen-
item.cerifentitytypePublications-
item.openairecristypehttp://purl.org/coar/resource_type/c_18cf-
crisitem.author.orcid0000-0001-7973-5808-
Appears in Collections:I&D CISUC - Artigos em Revistas Internacionais
FCTUC Eng.Informática - Artigos em Revistas Internacionais
Files in This Item:
Show simple item record

Page view(s)

36
checked on Jul 17, 2024

Download(s)

13
checked on Jul 17, 2024

Google ScholarTM

Check

Altmetric

Altmetric


This item is licensed under a Creative Commons License Creative Commons