Detecting and characterizing developer behavior following opportunistic reuse of code snippets from the web.
MSR(2018)
摘要
Modern software development is social and relies on many online resources and tools. In this paper, we study opportunistic code reuse from the Web, e.g., when developers copy code snippets from popular Q&A sites and paste them into their projects. Our focus is the behavior of developers following opportunistic code reuse, which reveals the success or failure of the action. We study developer behavior via a large, representative dataset of micro-interactions in the IDE. Our analysis of developer behavior exhibited in this dataset confirms laboratory study observations that code reuse from the Web is followed by heavy editing, in some cases by a rapid undo, and rarely by the execution of tests.
更多查看译文
关键词
opportunistic reuse, code snippet, developer behavior, interaction data, field study
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络