Branch Coverage

blib/lib/Test/Valgrind/Version.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
67 20 78 if (defined $output) { }
71 0 78 if $string->$instanceof('Test::Valgrind::Version')
72 71 7 if (defined $string and $string =~ /^([0-9]+(?:\.[0-9]+)*)(?!\.)/) { }
78 12 86 unless defined $string
83 86 48 if $digits[$i]
96 0 9 if $@
108 2 25 unless ($right->$instanceof('Test::Valgrind::Version'))
111 0 27 if $swap
117 6 21 $last_cmp < 0 ? :
121 11 31 if $cmp