Exploring the impacts of semi-automated storytelling on programmers' comprehension of software histories

John Allen, Caitlin Kelleher

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

Software developers have difficulty understanding the rationale and intent behind original developers' design decisions. Code histories aim to provide richer contexts for code changes over time, but can introduce a large amount of information to the already cognitively demanding task of code comprehension. Storytelling has shown benefits in communicating complex, time-dependent information, yet programmers are reluctant to write stories for their code changes. We explored the utility of narratives made by generative AI. We conducted a within-subjects study comparing the performance of 16 programmers when recalling code history information from a list-view format versus a comparable AI-generated narrative format. Our study found that when using the story-view, participants were 16% more successful at recalling code history information, and had 30% less error when assessing the correctness of their responses. We did not find any significant differences in programmer's perceived mental effort or their attitudes towards reuse when using narrative code stories.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC 2024
PublisherIEEE Computer Society
Pages148-162
Number of pages15
ISBN (Electronic)9798350366136
DOIs
StatePublished - 2024
Event2024 IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC 2024 - Liverpool, United Kingdom
Duration: Sep 2 2024Sep 6 2024

Publication series

NameProceedings of IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC
ISSN (Print)1943-6092
ISSN (Electronic)1943-6106

Conference

Conference2024 IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC 2024
Country/TerritoryUnited Kingdom
CityLiverpool
Period09/2/2409/6/24

Keywords

  • code histories
  • software versioning
  • storytelling

Fingerprint

Dive into the research topics of 'Exploring the impacts of semi-automated storytelling on programmers' comprehension of software histories'. Together they form a unique fingerprint.

Cite this