一句话:通过 40 名程序员的用户研究,揭示通用与语言特定经验如何影响调试时的 Stack Overflow 搜索效率与成功率。
调试对新手和专家都具挑战,程序员常求助于 Stack Overflow,但调试搜索实践及工具支持仍缺乏理解,现有在线论坛挖掘工具多不面向新手。本文对 40 名程序员开展用户研究,比较三个经验水平:新手、有经验但 Python 新手、有经验 Python 程序员。结果显示三组在找到有助于调试给定错误的帖子能力上存在显著差异;通用经验与语言特定经验均提升搜索效率与调试成功率。作者还探索了所选链接展示排名、每查询检查链接数等因素,并分析搜索行为与结果如何随 Python 错误类型变化。发现可为在线代码搜索教学与未来自动化工具设计提供依据。
Debugging can be challenging for novice and expert programmers alike. Programmers routinely turn to online resources such as Stack Overflow for help, but understanding of debugging search practices, as well as tool support to find debugging resources, remains limited. Existing tools that mine online help forums are generally not aimed at novices, and programmers face varying levels of success when looking for online resources. Furthermore, training online code search skills is pedagogically challenging, as we have little understanding of how expertise impacts programmers’ web search behavior while debugging code.We help fill these knowledge gaps with the results of a study of 40 programmers investigating differences in Stack Overflow search behavior at three levels of expertise: novices, experienced programmers who are novices in Python (the language we use in our study), and experienced Python programmers. We observe significant differences between all three levels in their ability to find posts helpful for debugging a given error, with both general and language-specific expertise facilitating Stack Overflow search efficacy and debugging success. We also conduct an exploratory investigation of factors that correlate with this difference, such as the display rank of the selected link and the number of links checked per search query. We conclude with an analysis of how online search behavior and results vary by Python error type. Our findings can inform online code search pedagogy, as well as inform the development of future automated tools.
DOI 原文 ·
@inproceedings{paperbot10965,
title = {Debugging with Stack Overflow: Web Search Behavior in Novice and Expert Programmers},
author = {Annie Li and Madeline Endres and Westley Weimer},
booktitle = {ICSE},
year = {2022},
doi = {10.1109/icse-seet55299.2022.9794240}
}