In wanting to both keep his development streamlined and add in a new tool (phploc), Raphael Stolt has come up with a way to integrate phploc into a Phing buildfile and have it run as an automated task.
Exactly one month ago Sebastian Bergmann, of PHPUnit fame, started to implement a similar tool dubbed phploc which can give you an overview of the size for any given PHP project. As I wanted to automate the invocation of this handy tool and collect it's report output out of a Phing buildfile, I invested some time to develop a custom Phing task doing so.
He includes instructions on installing phploc, creating the last in Phing (complete with code) and integrating it into your Phing build.