The blog of Rob Cameron - programmer, woodworker, husband and father. How to add directories to `rake stats` You probably know about rake stats: that neat task that breaks down your app by class type and tells you how many lines of code and lines of test code you have: +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M