Test.CoverageFormat Class
yui3/src/test/js/CoverageFormat.js:1
An object object containing coverage result formatting methods.
Index
Methods
Methods
JSON
-
coverage
Returns the coverage report in JSON format. This is the straight JSON representation of the native coverage report.
Parameters:
-
coverage
ObjectThe coverage report object.
Returns:
A JSON-formatted string of coverage data.
XdebugJSON
-
coverage
Returns the coverage report in a JSON format compatible with Xdebug. See <a href="http://www.xdebug.com/docs/code_coverage">Xdebug Documentation</a> for more information. Note: function coverage is not available in this format.
Parameters:
-
coverage
ObjectThe coverage report object.
Returns:
A JSON-formatted string of coverage data.