On 10/18/2013 05:23 PM, Brad Jorsch (Anomie) wrote:
On Fri, Oct 18, 2013 at 5:52 AM, Antoine Musso hashar+wmf@free.fr wrote:
track which lines in MediaWiki core have been executed
Does it count the whole line as covered for something like
$var = $alwaysTrue ? $something : $something_else;
or just the "true" case?
The whole line. This is a limitation of the PHP extension Xdebug. See http://phpunit.de/manual/current/en/code-coverage-analysis.html#code-coverag...
Based on my experience, there will also be some false negatives.