Skip to contents

Detect Non-DRY Logic

Usage

detect_near_dupes(inv, threshold = 40, bucket_width = 100)

Arguments

inv

Result from get_function_inventory

threshold

Levenshtein distance limit (default 40)