Would You Fix This Code for Me? Effects of Repair Source and Commenting on Trust in Code Repair

Automation and autonomous systems are quickly becoming a more engrained aspect of modern society. The need for effective, secure computer code in a timely manner has led to the creation of automated code repair techniques to resolve issues quickly. However, the research to date has largely ignored t...

Full description

Bibliographic Details
Main Authors: Gene M. Alarcon, Charles Walter, Anthony M. Gibson, Rose F. Gamble, August Capiola, Sarah A. Jessup, Tyler J. Ryan
Format: Article
Language:English
Published: MDPI AG 2020-03-01
Series:Systems
Subjects:
Online Access:https://www.mdpi.com/2079-8954/8/1/8
id doaj-6ff2b135ab3a4ba2b32d61a713de41cf
record_format Article
spelling doaj-6ff2b135ab3a4ba2b32d61a713de41cf2020-11-25T03:50:59ZengMDPI AGSystems2079-89542020-03-0181810.3390/systems8010008systems8010008Would You Fix This Code for Me? Effects of Repair Source and Commenting on Trust in Code RepairGene M. Alarcon0Charles Walter1Anthony M. Gibson2Rose F. Gamble3August Capiola4Sarah A. Jessup5Tyler J. Ryan6Air Force Research Laboratory, Wright Patterson AFB, OH 45433, USADepartment of Computer and Information Science, University of Mississippi, University, MS 38677, USAConsortium of Universities, Washington, DC 20036, USATandy School of Computer Science, University of Tulsa, Tulsa, OK 74101, USAAir Force Research Laboratory, Wright Patterson AFB, OH 45433, USAAir Force Research Laboratory, Wright Patterson AFB, OH 45433, USADepartment of Psychology, Wright State University, Dayton, OH 45435, USAAutomation and autonomous systems are quickly becoming a more engrained aspect of modern society. The need for effective, secure computer code in a timely manner has led to the creation of automated code repair techniques to resolve issues quickly. However, the research to date has largely ignored the human factors aspects of automated code repair. The current study explored trust perceptions, reuse intentions, and trust intentions in code repair with human generated patches versus automated code repair patches. In addition, comments in the headers were manipulated to determine the effect of the presence or absence of comments in the header of the code. Participants were 51 programmers with at least 3 years’ experience and knowledge of the C programming language. Results indicated only repair source (human vs. automated code repair) had a significant influence on trust perceptions and trust intentions. Specifically, participants consistently reported higher levels of perceived trustworthiness, intentions to reuse, and trust intentions for human referents compared to automated code repair. No significant effects were found for comments in the headers.https://www.mdpi.com/2079-8954/8/1/8trustautomated program repairhuman factors psychology
collection DOAJ
language English
format Article
sources DOAJ
author Gene M. Alarcon
Charles Walter
Anthony M. Gibson
Rose F. Gamble
August Capiola
Sarah A. Jessup
Tyler J. Ryan
spellingShingle Gene M. Alarcon
Charles Walter
Anthony M. Gibson
Rose F. Gamble
August Capiola
Sarah A. Jessup
Tyler J. Ryan
Would You Fix This Code for Me? Effects of Repair Source and Commenting on Trust in Code Repair
Systems
trust
automated program repair
human factors psychology
author_facet Gene M. Alarcon
Charles Walter
Anthony M. Gibson
Rose F. Gamble
August Capiola
Sarah A. Jessup
Tyler J. Ryan
author_sort Gene M. Alarcon
title Would You Fix This Code for Me? Effects of Repair Source and Commenting on Trust in Code Repair
title_short Would You Fix This Code for Me? Effects of Repair Source and Commenting on Trust in Code Repair
title_full Would You Fix This Code for Me? Effects of Repair Source and Commenting on Trust in Code Repair
title_fullStr Would You Fix This Code for Me? Effects of Repair Source and Commenting on Trust in Code Repair
title_full_unstemmed Would You Fix This Code for Me? Effects of Repair Source and Commenting on Trust in Code Repair
title_sort would you fix this code for me? effects of repair source and commenting on trust in code repair
publisher MDPI AG
series Systems
issn 2079-8954
publishDate 2020-03-01
description Automation and autonomous systems are quickly becoming a more engrained aspect of modern society. The need for effective, secure computer code in a timely manner has led to the creation of automated code repair techniques to resolve issues quickly. However, the research to date has largely ignored the human factors aspects of automated code repair. The current study explored trust perceptions, reuse intentions, and trust intentions in code repair with human generated patches versus automated code repair patches. In addition, comments in the headers were manipulated to determine the effect of the presence or absence of comments in the header of the code. Participants were 51 programmers with at least 3 years’ experience and knowledge of the C programming language. Results indicated only repair source (human vs. automated code repair) had a significant influence on trust perceptions and trust intentions. Specifically, participants consistently reported higher levels of perceived trustworthiness, intentions to reuse, and trust intentions for human referents compared to automated code repair. No significant effects were found for comments in the headers.
topic trust
automated program repair
human factors psychology
url https://www.mdpi.com/2079-8954/8/1/8
work_keys_str_mv AT genemalarcon wouldyoufixthiscodeformeeffectsofrepairsourceandcommentingontrustincoderepair
AT charleswalter wouldyoufixthiscodeformeeffectsofrepairsourceandcommentingontrustincoderepair
AT anthonymgibson wouldyoufixthiscodeformeeffectsofrepairsourceandcommentingontrustincoderepair
AT rosefgamble wouldyoufixthiscodeformeeffectsofrepairsourceandcommentingontrustincoderepair
AT augustcapiola wouldyoufixthiscodeformeeffectsofrepairsourceandcommentingontrustincoderepair
AT sarahajessup wouldyoufixthiscodeformeeffectsofrepairsourceandcommentingontrustincoderepair
AT tylerjryan wouldyoufixthiscodeformeeffectsofrepairsourceandcommentingontrustincoderepair
_version_ 1724489393874403328