Influence of confirmation biases of developers on software quality: an empirical study

  • Authors:
  • Gül Çalıklı;Ayşe Başar Bener

  • Affiliations:
  • Department of Computer Engineering, Boğaziçi University, Bebek, Turkey 34342;Ted Rogers School of Information Technology Management, Ryerson University, Toronto, Canada M5B 2K3

  • Venue:
  • Software Quality Control
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

The thought processes of people have a significant impact on software quality, as software is designed, developed and tested by people. Cognitive biases, which are defined as patterned deviations of human thought from the laws of logic and mathematics, are a likely cause of software defects. However, there is little empirical evidence to date to substantiate this assertion. In this research, we focus on a specific cognitive bias, confirmation bias, which is defined as the tendency of people to seek evidence that verifies a hypothesis rather than seeking evidence to falsify a hypothesis. Due to this confirmation bias, developers tend to perform unit tests to make their program work rather than to break their code. Therefore, confirmation bias is believed to be one of the factors that lead to an increased software defect density. In this research, we present a metric scheme that explores the impact of developers' confirmation bias on software defect density. In order to estimate the effectiveness of our metric scheme in the quantification of confirmation bias within the context of software development, we performed an empirical study that addressed the prediction of the defective parts of software. In our empirical study, we used confirmation bias metrics on five datasets obtained from two companies. Our results provide empirical evidence that human thought processes and cognitive aspects deserve further investigation to improve decision making in software development for effective process management and resource allocation.