Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

For the past while I've been using phpdoc, phpunit (with xdebug for code coverage generation) and pdepend to produce documentation and code metrics. I can't help but think that things look a bit disjointed. Ideally I'd like to integrate the code coverage reports, test results and metrics together in one place — with the phpdoc output. I'm not using any CI system.

Is there anything that can help me achieve what I want to do or do I basically need to start hacking away at phpdoc and/or smarty templates?

share|improve this question
    
any reason you are not using a CI server? If you are on Linux its pretty easy to get up and running with jenkins-php.org. That would save you the hassle of extending phpdoc. –  Gordon May 13 '11 at 21:13
    
I have looked at a few different CI servers but to be honest I don't like the output generated by any of them. I tend to be a roll-your-own kind of guy but if I could find something more customisable I'd use it in an instant. –  Nev Stokes May 13 '11 at 21:32

1 Answer 1

up vote 3 down vote accepted

I don't think there is a tool for combining phpdoc and the phpunit code coverage.

For the other tools you can check out "phpcb" - The PHP Code Browser.

It will combine the result from "PHP Code Sniffer", "PHP Mess Detector" and PHPUnits "CRAP" index by giving you a source code browser where you can look at the code an all the errors in one place.

Screenshots from a sample project:

phpcb-overview-page

phpcb-classview-page

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.