fertile icon indicating copy to clipboard operation
fertile copied to clipboard

auto-detect cruft

Open beanumber opened this issue 6 years ago • 3 comments

  • when you call a library, but don't use it
  • when you have data files that you don't load
  • when you have script files that you don't execute

beanumber avatar Sep 26 '18 14:09 beanumber

  • packages: currently we use requirements to scan the code and record the names of the packages that are called. If they use one of the functions we have shimmed, then we'll know it, and we can compare the two lists. But we aren't to shim every function. So how will we know if they do or don't use a function in a package?
  • input files: compare the list of files in the directory to the list of files called by our shimmed functions. Report any differences.
  • output files: ditto

beanumber avatar Oct 16 '18 14:10 beanumber

https://github.com/dreamRs/prefixer

beanumber avatar Oct 29 '18 19:10 beanumber

See also #29

beanumber avatar Dec 18 '18 15:12 beanumber