Skip to content

Releases

0.1.1

Choose a tag to compare

@janedbal janedbal released this 21 Nov 10:16
Immutable release. Only release title and notes can be modified.
6ba58e4

Improvements:

  • More precise line coverage (#18)
    • A line of a multi-line condition, ternary, ?? or match is now covered only when its own code runs
    • PCOV and Xdebug wrongly report such lines as covered even when PHP skips them
return match ($a) {                 // call: f(1)
    1 => 'one',
    default => 'other',             // before: covered, now: not covered
};

if ($a                              // call: f(false, true, true)
    && $b                           // before: covered, now: not covered
    && $c                           // before: covered, now: not covered
) {

return $a                           // call: f('a')
    ?? strtoupper('b');             // before: covered, now: not covered

0.1.0

Choose a tag to compare

@janedbal janedbal released this 20 Nov 07:45
Immutable release. Only release title and notes can be modified.
da8bb17

turbocov first public release!

  • ⚡ Ultrafast: 400× less overhead than Xdebug, 30× less than PCOV
  • 🎯 Focused: Zero overhead for code you do not measure (e.g. vendor)
  • 🍰 Easy-to-use: One pie install, one line in phpunit.xml
  • 🛡️ Robust: A broken setup stops the run with a clear message

Turbocov Performance