migration - php code coverage on request execution -
i working on php migration project complex , huge .
i want know there tool me see line of codes got executed when 1 page rendered on browser. me find codes in use , check business logics & migrate 1 required.
like code coverage report in unit test. there available know code executed when particular request executed.
if enable xdebug profiler can use code coverage data , use later identify unused code. please find more details here: http://xdebug.org/docs/code_coverage
if need formatted in nicer way can use php-code-coverage lib phpunit using generate reports. can find example how here: https://github.com/sebastianbergmann/php-code-coverage
Comments
Post a Comment