An empirical study of the copy and paste behavior during development

作者: Ahmed E. Hassan , Weiyi Shang , Tarek M. Ahmed

DOI: 10.5555/2820518.2820533

关键词:

摘要: Developers frequently employ Copy and Paste. However, little is known about the copy paste behavior during development. To better understand behavior, automated approaches are proposed to identify cloned code. such can only location of code that has been copied pasted, but context paste. On other hand, prior research studying actual based on a small number users in an experimental setup.In this paper, we study developers copying pasting while using Eclipse IDE. We mine usage data over 20,000 users. aim explore different patterns Paste (C&P) used by compare regular users' non-development tasks reported earlier studies. Our findings instruct builders future IDEs. find developers' C&P considerably from For example, tend perform more frequent same file contrary users, who across windows. Moreover, programming languages common as extracted than 75,000 incidents languages. Such finding highlights need for clone detection techniques detect clones

参考文章(27)
Supporting the analysis of clones in software systems: Research Articles international conference on software maintenance. ,vol. 18, pp. 61- 82 ,(2006) , 10.1002/SMR.V18:2
M. Toomim, A. Begel, S.L. Graham, Managing Duplicated Code with Linked Editing symposium on visual languages and human-centric computing. pp. 173- 180 ,(2004) , 10.1109/VLHCC.2004.35
Clone detection in source code by frequent itemset techniques source code analysis and manipulation. pp. 128- 135 ,(2004) , 10.1109/SCAM.2004.5
Rainer Koschke, Identifying and Removing Software Clones Software Evolution. pp. 15- 36 ,(2008) , 10.1007/978-3-540-76440-3_2
David Thomas, Andrew Hunt, The Pragmatic Programmer: From Journeyman to Master ,(1999)
K. A. Kontogiannis, R. Demori, E. Merlo, M. Galler, M. Bernstein, Pattern matching for clone and concept detection automated software engineering. ,vol. 3, pp. 77- 108 ,(1996) , 10.1007/BF00126960
Cory J. Kapser, Michael W. Godfrey, Supporting the analysis of clones in software systems Journal of Software Maintenance and Evolution: Research and Practice. ,vol. 18, pp. 61- 82 ,(2006) , 10.1002/SMR.327
YoungSeok Yoon, Brad A. Myers, Capturing and analyzing low-level events from the code editor evaluation and usability of programming languages and tools. pp. 25- 30 ,(2011) , 10.1145/2089155.2089163
Michael Terry, Matthew Kay, Brad Van Vugt, Brandon Slack, Terry Park, Ingimp Proceeding of the twenty-sixth annual CHI conference on Human factors in computing systems - CHI '08. pp. 607- 616 ,(2008) , 10.1145/1357054.1357152
Patricia Jablonski, Managing the copy-and-paste programming practice in modern IDEs Companion to the 22nd ACM SIGPLAN conference on Object oriented programming systems and applications companion - OOPSLA '07. pp. 933- 934 ,(2007) , 10.1145/1297846.1297952