XIAO: Tuning Code Clones at the Hands of Engineers

A large number of academic research projects have been carried out on empirical studies or tool supports for detecting code clones. However, there are few examples of the practical adoption of these tools. In our unique approach to code clone detection, we focused on high tunability, scalability, compatibility, and explorability when developing our code clone detection algorithm and system. Our technology has been successfully used inside Microsoft and been integrated into Visual Studio 2012.

Publications

Tech transfer

  1. Code clone analysis feature in Visual Studio 2012

Our code clone analysis algorithm has been integrated into Visual Studio Premium and Ultimate 2012. The code clone analysis feature in VS 2012 can help developers efficiently identify code-refactoring opportunities and quickly find code defects in duplcated code.

Finding Duplicate Code by using Code Clone Detection

2. Code clone search service for security vulnerability investigation

The Microsoft security team has integrated our scalable clone search service into their security investigation process. Technet: Code clone analysis helps secure Microsoft product.

 

People
Gong Cheng
Gong Cheng

Song Ge
Song Ge

Ray Huang
Ray Huang

Dongmei Zhang
Dongmei Zhang