作者: Ahmed E. Hassan , Weiyi Shang , Tarek M. Ahmed
关键词:
摘要: 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