what.py is a Python program written by me which is used to gauge the size of a source base.

It is meant to be run the first time you encounter a new source base. It recursively descends a file tree and reports several statistics of interest to code spelunkers. These include:

The code that determines what computer language a file contains is flexible in how it does its checking. Right now this is done based on the file's extension, but can be extended to call an interpreter to determine if the file is valid code of a particular type.

There are four arguments that can be used:

The program automatically ignores any file in a CVS diretory.


License: Open Source (BSD)