Project Orphaned Object Finder is a Python program that you point at a directory and it will go through and digest all contents of that and all sub-directories and tell you which files are “orphans” meaning they are not referenced from any other files within those directories.

The end goal of this project is to generate a “map” that shows you all connections between all files to help you identify individual orphans as well as groups of interconnected orphans. This will mostly be useful for very large projects that have been actively developed for many years where often the original programmers are no longer even part of the team.

This first iteration simply spits out names of files not referenced by any other files.
The second iteration will hopefully allow you to specify a starting file, spider through all files referenced by the starting file and all files referenced by those referenced files and so on and at the end generate a list of files who are not referenced directly or indirectly by the starting file.
The third iteration will hopefully do this all graphically.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 United States License.

UPDATES:
Added recursive directory/file listings