blib/lib/Sub/Chain/Group.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 31 | 90.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
166 | 1 | 7 | 1 | $$self{'warn_no_field'} eq 'single' and not $$opts{'multi'} |
275 | 74 | 11 | 26 | exists $norm{$type} and not ref $norm{$type} |
line | l | !l | condition |
---|---|---|---|
41 | 3 | 11 | delete $opts{'chain_class'} || 'Sub::Chain' |
3 | 11 | delete $opts{'chain_args'} || {} | |
75 | 32 | 5 | $$self{'queue'} ||= [] |
157 | 32 | 32 | $opts ||= {} |
178 | 5 | 9 | $$self{'dequeued'} ||= [] |
193 | 28 | 17 | $$opts{'fields'} || [] |
280 | 2 | 35 | $norm{'args'} ||= [] |
281 | 2 | 35 | $norm{'opts'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
166 | 1 | 0 | 9 | $$self{'warn_no_field'} eq 'always' or $$self{'warn_no_field'} eq 'single' and not $$opts{'multi'} |
189 | 4 | 8 | 0 | $$self{'hooks'}{$hook} ||= $self->new_sub_chain |
204 | 23 | 32 | 0 | $$self{'fields'}{$field} ||= $self->new_sub_chain |