improve duplication code analysis