Clone analyzer and miner