blib/lib/Test2/Event/Generic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 26 | 26 | 100.0 |
line | true | false | branch |
---|---|---|---|
28 | 11 | 49 | defined $self->{$field} ? : |
29 | 35 | 25 | unless defined $val |
39 | 121 | 25 | exists $_[0]{$field} ? : |
49 | 7 | 19 | unless $name eq 'callback' |
60 | 2 | 32 | if defined $self->{'summary'} |
66 | 18 | 5 | unless $self->{'sets_plan'} |
80 | 1 | 4 | unless (defined $bool) |
92 | 1 | 3 | unless (defined $cb) |
97 | 1 | 2 | unless ref $cb and &reftype($cb) eq 'CODE' |
107 | 2 | 8 | unless (defined $exit) |
112 | 3 | 5 | unless $exit =~ /^\d+$/ |
122 | 1 | 5 | unless (defined $plan) |
127 | 1 | 4 | unless ref $plan and &reftype($plan) eq 'ARRAY' |