Effectiveness of Explaining a Program to Others in Finding Its Bugs

Toshihiro Nakamura, Akito Monden, Mariko Sasakura, Hidetake Uwano

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Explaining a program to others helps get others to find bugs and for the explainer him/herself to find bugs. However, to the best of our knowledge, there is no quantitative evidence that explaining a program to others helps the explainer find bugs. This study aims to show quantitatively, using an experimental evaluation, that the explainer himself can find new bugs by explaining the program to others. In the experiment, subjects first review a program that contains many bugs and try to find as many bugs as possible. Next, they are required to explain the program aloud to others. We see if they notice any new bugs themselves during the explanation. As a result of the experiment, five out of the six subjects could find new bugs when explaining the program to others. According to the questionnaire to the subjects, the subjects who find many bugs feel that they can understand the program better by explaining it to others.

Original languageEnglish
Title of host publicationProceedings - 22nd IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, SNPD 2021-Fall
EditorsHer-Terng Yau, Roland Stenzel, Mei-Ling Shyu, Hsiung-Cheng Lin
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages248-253
Number of pages6
ISBN (Electronic)9781665404037
DOIs
Publication statusPublished - 2021
Event22nd IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, SNPD 2021-Fall - Virtual, Taichung, Taiwan, Province of China
Duration: Nov 24 2021Nov 26 2021

Publication series

NameProceedings - 22nd IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, SNPD 2021-Fall

Conference

Conference22nd IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, SNPD 2021-Fall
Country/TerritoryTaiwan, Province of China
CityVirtual, Taichung
Period11/24/2111/26/21

Keywords

  • bug detection
  • code reading
  • human factor
  • Software review

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Vision and Pattern Recognition
  • Hardware and Architecture
  • Software
  • Information Systems and Management

Fingerprint

Dive into the research topics of 'Effectiveness of Explaining a Program to Others in Finding Its Bugs'. Together they form a unique fingerprint.

Cite this