blib/lib/POE/Declarative.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 38 | 55.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
145 | 0 | 0 | 54 | ref $code and reftype $code eq 'CODE' |
167 | 0 | 40 | 9 | defined $package and $package->isa('POE::Declarative::Mixin') |
186 | 53 | 0 | 1 | ref $state and reftype $state eq 'ARRAY' |
386 | 0 | 13 | 0 | defined $class and $class ne 'POE::Declarative' |
line | l | !l | condition |
---|---|---|---|
366 | 314 | 0 | $_POE_DECLARATIVE_ARGS || [] |
373 | 215 | 18 | ${$package . '::_POE_DECLARATIVE_HANDLERS';} ||= {} |
380 | 56 | 18 | ${$package . '::_POE_DECLARATIVE_STATES';} ||= {} |
389 | 1 | 12 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
181 | 14 | 0 | 0 | get(0) || caller |
182 | 0 | 14 | 0 | ref $object || $object |
231 | 1 | 171 | 0 | ref $self || $self |
370 | 233 | 0 | 0 | shift() || caller 1 |
377 | 74 | 0 | 0 | shift() || caller 1 |
388 | 5 | 8 | 0 | shift() || caller |