Branch Coverage

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


line true false branch
67 24 85 if (defined $output) { }
71 0 85 if $string->$instanceof('Test::Valgrind::Version')
72 79 6 if (defined $string and $string =~ /^([0-9]+(?:\.[0-9]+)*)/) { }
78 11 98 unless defined $string
83 98 54 if $digits[$i]
96 0 9 if $@
108 2 27 unless ($right->$instanceof('Test::Valgrind::Version'))
111 0 29 if $swap
117 6 23 $last_cmp < 0 ? :
121 13 33 if $cmp