blib/lib/Sub/Chain/Group.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 31 | 90.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
163 | 1 | 7 | 1 | $self->{'warn_no_field'} eq 'single' and not $opts->{'multi'} |
271 | 74 | 11 | 26 | exists $norm{$type} and not ref $norm{$type} |
line | l | !l | condition |
---|---|---|---|
44 | 3 | 11 | delete $opts{'chain_class'} || 'Sub::Chain' |
3 | 11 | delete $opts{'chain_args'} || {} | |
70 | 32 | 5 | $self->{'queue'} ||= [] |
152 | 32 | 32 | $opts ||= {} |
173 | 5 | 9 | $self->{'dequeued'} ||= [] |
188 | 28 | 17 | $opts->{'fields'} || [] |
275 | 2 | 35 | $norm{'args'} ||= [] |
276 | 2 | 35 | $norm{'opts'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
163 | 1 | 0 | 9 | $self->{'warn_no_field'} eq 'always' or $self->{'warn_no_field'} eq 'single' and not $opts->{'multi'} |
184 | 4 | 8 | 0 | $self->{'hooks'}{$hook} ||= $self->new_sub_chain |
199 | 23 | 32 | 0 | $self->{'fields'}{$field} ||= $self->new_sub_chain |