PHPUnit and Software Metrics

The upcoming 3.2 release of PHPUnit adds a couple of software metrics to the data that is stored in PHPUnit's test database. Below is a list of the metrics that are calculated and collected:

The example below shows how you can access, for instance, the Cyclomatic Complexity information for all methods of a project.