Duplicate line code detector