blib/lib/Test2/Event/Plan.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 24 | 24 | 100.0 |
line | true | false | branch |
---|---|---|---|
18 | 11 | 100 | if ($_[0]{'directive'}) { } |
19 | 5 | 6 | if $_[0]{'directive'} eq 'skip_all' |
20 | 3 | 8 | if $_[0]{'directive'} eq 'no_plan' |
23 | 1 | 10 | unless $ALLOWED{$_[0]{'directive'}} |
27 | 1 | 99 | if defined $_[0]{'reason'} |
30 | 1 | 98 | unless defined $_[0]{'max'} |
33 | 1 | 97 | unless $_[0]{'max'} =~ /^\d+$/ |
54 | 96 | 8 | unless $self->{'directive'} |
56 | 6 | 2 | if $self->{'directive'} eq 'SKIP' |
62 | 6 | 97 | if $self->{'directive'} and $self->{'directive'} eq 'SKIP' |
72 | 1 | 2 | if $max or not $directive |
75 | 1 | 1 | if $reason |