-
Notifications
You must be signed in to change notification settings - Fork 396
lower vulture min confidence #1241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Presumably this'll pick up new errors when you run Unless you have run it locally and it's clean? |
|
Hi @SamWilsn @gurukamath , running
I've updated the PR to use confidence 80 as it provides a good balance of lowering the threshold from 100 while avoiding the introduction of many warnings that would need individual review. this approach gives us incremental progress toward catching more dead code while maintaining a clean build. can you have a review on it now if everything looks good to go? |
|
I experimented and we can actually lower the threshold all the way down to 61 and still get a clean run since all issues it detects right now trigger at 60. |
|
thank for the preferred value @Carsons-Eels . so, I'm settings the value to |
|
@Carsons-Eels any update on the change if it's good to go? |
|
Hi @naevern, we had a co-working team meetup last week where we discussed how to approach dead code detection, and decided that there were few enough issues to resolve or whitelist that we are going to not limit vulture's detection threshold and instead maintain the highest level of cleanliness in this repo that we can. We won't be moving forward with this PR as a result, but thank you for your contribution. |
…sts subfolder (ethereum#1241) Co-authored-by: danceratopz <danceratopz@gmail.com>
…sts subfolder (ethereum#1241) Co-authored-by: danceratopz <danceratopz@gmail.com>
This PR lowers the minimum confidence threshold for Vulture from 100 to 60, allowing it to detect more potentially unused code. This change will help identify dead code that might otherwise be missed with the stricter setting.
Fixes #1239