Transferring Code-Clone Detection and Analysis to Practice
Authors:
- Yingnong DangYDYingnong Dang
- Dongmei ZhangDZDongmei Zhang
- Song GeSGSong Ge
- Ray HuangRHRay Huang
- Chengyun ChuCCChengyun Chu
- Tao XieTXTao Xie
- 1 May 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 53-62
Abstract
During software development, code clones are commonly produced, in the form of a number of the same or similar code fragments spreading within one or many large code bases. Numerous research projects have been carried out on empirical studies or tool support for detecting or analyzing code clones. However, in practice, few such research projects have resulted in substantial industry adoption. In this paper, we report our experiences of transferring XIAO, a code-clone detection and analysis approach and its supporting tool, to road industrial practices: (1) shipped in Visual Studio 2012, a widely used industrial IDE, (2) deployed and intensively used at the Microsoft Security Response Center. According to our experiences, technology transfer is a rather complicated journey that needs significant efforts from both the technical aspect and social aspect. From the technical aspect, significant efforts are needed to adapt a research prototype to a product-quality tool that addresses the needs of real scenarios, to be integrated into a mainstream product or development process. From the social aspect, there are strong needs to interact with practitioners to identify killer scenarios in industrial settings, figure out the gap between a research prototype and a tool fitting the needs of real scenarios, to understand the requirements of releasing with a mainstream product, being integrated into a development process, understanding their release cadence, etc.Keywords
This publication has 17 references indexed in Scilit:
- Software analytics for incident management of online services: An experience report2013
- Software Analytics in PracticeIEEE Software, 2013
- Billions and billions of constraints: Whitebox fuzz testing in production2013
- Performance debugging in the large via mining millions of stack traces2012
- Software analytics as a learning case in practice2011
- A decade of software model checking with SLAMCommunications of the ACM, 2011
- CRANE: Failure Prediction, Change Analysis and Test Prioritization in Practice -- Experiences from Windows2011
- Scalable and systematic detection of buggy inconsistencies in source code2010
- A few billion lines of code laterCommunications of the ACM, 2010
- Comparison and evaluation of code clone detection techniques and tools: A qualitative approachScience of Computer Programming, 2009