Jump to content

Code Coverage for embedded php


kungfoocoder

Recommended Posts

Hi,

 

I am trying to create a code coverage report for files that have php and javascript embedded into html pages. The main target for code coverage is the php code, javascript is not that imp.

 

I was looking at phpunit+xdebug to handle the code coverage.

 

I might be wrong but is it possible to use phpunit+xdebug for code coverage of php's that is not coded into classes but simply embedded into html? If not, please suggest an alternative method or some pointers.

 

Thank you,

-

KungFoo

Link to comment
https://forums.phpfreaks.com/topic/151766-code-coverage-for-embedded-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.