cp - miner : a tool for finding copy - paste and related bugs in operating system code .
Clone detection using abstract syntax trees