blib/lib/Test2/Event/Plan.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 24 | 24 | 100.0 |
line | true | false | branch |
---|---|---|---|
18 | 11 | 96 | 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 | 95 | if defined $_[0]{'reason'} |
30 | 1 | 94 | unless defined $_[0]{'max'} |
33 | 1 | 93 | unless $_[0]{'max'} =~ /^\d+$/ |
54 | 92 | 8 | unless $self->{'directive'} |
56 | 6 | 2 | if $self->{'directive'} eq 'SKIP' |
62 | 6 | 93 | if $self->{'directive'} and $self->{'directive'} eq 'SKIP' |
72 | 1 | 2 | if $max or not $directive |
75 | 1 | 1 | if $reason |