-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
Thanks for this very nice tool set!! Since I use Coq I have always been looking for a way to find unused definitions and lemmas.
My project has quite a few top-level theorems. They are reported by dpdusage, but I don't want to delete them. Moreover, I have a fair amount of technical lemmas that I want to keep, even though they are not used (currently). Because of this I am interested in a white-listing feature for dpdusage.
I am considering to open a PR that adds three things to dpdusage:
-
an option
-white-list <path>:<name> -
an option
-white-list-file <file>that reads a file of white-listed names in the same format -
an option
-strict-white-listthat warns about a white-listed item with usage count above the threshold
What do you think?
chdoc and ana-borges