Branch Coverage

blib/lib/Test2/Tools/SkipUntil.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
18 4 2 if (@_ == 3) { }
29 2 1 if (should_skip($timepiece))
47 1 0 if (should_skip($timepiece))
51 0 0 if $ctx
57 2 7 unless (defined $why and ref $why eq '' and length $why)
58 2 3 defined $why ? :
67 0 6 unless $timepiece and ref $timepiece eq 'Time::Piece'
76 4 6 unless (defined $count and $count =~ qr/^\d+$/ and $count > 0)
80 4 3 defined $count ? :
89 1 13 if ($datetime and $datetime =~ qr/^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d$/) { }
5 8 elsif ($datetime and $datetime =~ qr/^\d\d\d\d-\d\d-\d\d$/) { }
96 4 4 defined $datetime ? :