blib/lib/Test2/Event/Plan.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 24 | 24 | 100.0 |
line | true | false | branch |
---|---|---|---|
19 | 11 | 100 | if ($_[0]{'directive'}) { } |
20 | 5 | 6 | if $_[0]{'directive'} eq 'skip_all' |
21 | 3 | 8 | if $_[0]{'directive'} eq 'no_plan' |
24 | 1 | 10 | unless $ALLOWED{$_[0]{'directive'}} |
28 | 1 | 99 | if defined $_[0]{'reason'} |
31 | 1 | 98 | unless defined $_[0]{'max'} |
34 | 1 | 97 | unless $_[0]{'max'} =~ /^\d+$/ |
55 | 96 | 8 | unless $self->{'directive'} |
57 | 6 | 2 | if $self->{'directive'} eq 'SKIP' |
63 | 6 | 97 | if $self->{'directive'} and $self->{'directive'} eq 'SKIP' |
73 | 1 | 2 | if $max or not $directive |
76 | 1 | 1 | if $reason |