code duplication detector