Melvin's digital garden

Code clone analysis and applications

Speaker: Katsuro Inoue, Osaka University

CCFinder

normalization of name space

parameterization of user-defined names

removal of table initialization

identification of module delimiter

suffix-tree algorithm

can analyze system of millions line scale in 5-30mins

Gemini

visualize code clones

interactive analysis of code clones (scatter plot, clone metrics, file metrics)

scatter plot ~ dot plot

Use of clone analysis for refactoring

chained clones

classify chained clones using two metrics, clone relations and dependency relations

Links to this note