Orphaned file detection

This post is published externally at https://medium.com/@MrJamesFisher/orphaned-file-detection-de307d96d5e1 external link.

How many old files in your repository could be removed without breaking anything? A significant number, if your repository is non-trivial. Humans are terrible at garbage collection, because orphaning doesn’t break test suites and doesn’t show up in code review. But how about if your CI process was able to tell you: “This commit might have orphaned these files: /src/server/baz.py, /src/client/baz.js”?

More by Jim

Tagged . All content copyright James Fisher 2014. This post is not associated with my employer. Found an error? Edit this page.