blib/lib/Zydeco/Lite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 57 | 121 | 47.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
38 | 51 | 1 | 186 | @$ref and $type->check($ref->[0]) |
44 | 1 | 13 | 175 | @$ref and $type->check($ref->[-1]) |
427 | 9 | 0 | 1 | @_ == 0 and not $THIS{'CLASS_SPEC'}{'factory'} |
583 | 0 | 0 | 0 | $THIS{'CLASS_SPEC'} and $THIS{'CLASS_SPEC'}{'is_role'} |
612 | 0 | 0 | 3 | @_ == 1 and (&Str() | &Undef())->check($_[0]) |
720 | 0 | 0 | 2 | $THIS{'CLASS_SPEC'} and $THIS{'CLASS_SPEC'}{'is_role'} |
739 | 0 | 0 | 3 | $THIS{'CLASS_SPEC'} and $THIS{'CLASS_SPEC'}{'is_role'} |
line | l | !l | condition |
---|---|---|---|
237 | 22 | 7 | $THIS{'CLASS_SPEC'}{'subclass'} ||= [] |
252 | 25 | 6 | &_pop_type(scalar &CodeRef(), \@_) || sub { |
261 | 0 | 0 | &_pop_type(scalar &CodeRef(), \@_) || sub { |
270 | 0 | 0 | &_pop_type(scalar &CodeRef(), \@_) || sub { |
294 | 2 | 0 | &_pop_type(scalar &CodeRef(), \@_) || sub { |
360 | 3 | 18 | $target->{$key} ||= {} |
381 | 2 | 5 | $target->{'symmethod'} ||= [] |
406 | 1 | 2 | $target->{'multimethod'} ||= [] |
439 | 6 | 3 | $definition ||= \"new" |
448 | 6 | 3 | $THIS{'CLASS_SPEC'}{'factory'} ||= [] |
463 | 0 | 2 | $target->{'multifactory'} ||= [] |
492 | 0 | 12 | $target->{$modifier_type} ||= [] |
526 | 0 | 6 | $spec->{'extends'} ||= [] |
535 | 2 | 34 | $spec->{'with'} ||= [] |
556 | 9 | 10 | $THIS{'CLASS_SPEC'}{'has'} ||= [] |
569 | 2 | 3 | $spec->{'constant'} ||= {} |
588 | 0 | 0 | $THIS{'CLASS_SPEC'}{'requires'} ||= [] |
601 | 0 | 6 | $target->{'import'} ||= [] |
660 | 0 | 3 | $THIS{'CLASS_SPEC'}{'coerce'} ||= [] |
690 | 0 | 0 | $THIS{'CLASS_SPEC'}{'begin'} ||= [] |
707 | 0 | 0 | $THIS{'CLASS_SPEC'}{'end'} ||= [] |
725 | 0 | 2 | $THIS{'CLASS_SPEC'}{'before_apply'} ||= [] |
744 | 0 | 3 | $THIS{'CLASS_SPEC'}{'after_apply'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
79 | 112 | 0 | 0 | $b->FILE || $b->START->file || $file |
112 | 0 | 0 | $b->START->line || $line | |
162 | 79 | 5 | 0 | &_pop_type(scalar &CodeRef(), \@_) || do { |
166 | 0 | 84 | 0 | $args{'definition_context'} ||= _make_definition_context(1, $dummy_dfn ? () : $definition) |
316 | 0 | 0 | 33 | is_ScalarRef($subname) or is_Undef($subname) |
319 | 0 | 0 | 0 | $sig or keys %args |
378 | 7 | 0 | 0 | $THIS{'CLASS_SPEC'} || $THIS{'APP_SPEC'} |
385 | 0 | 0 | 0 | $THIS{'APP'} || caller |
400 | 3 | 0 | 0 | $THIS{'CLASS_SPEC'} || $THIS{'APP_SPEC'} |
489 | 11 | 1 | 0 | $THIS{'CLASS_SPEC'} || $THIS{'APP_SPEC'} |
522 | 6 | 0 | 0 | $THIS{'CLASS_SPEC'} || $THIS{'APP_SPEC'} |
533 | 35 | 1 | 0 | $THIS{'CLASS_SPEC'} || $THIS{'APP_SPEC'} |
552 | 0 | 16 | 0 | $spec->{'definition_context'} ||= _make_definition_context(1) |
568 | 5 | 0 | 0 | $THIS{'CLASS_SPEC'} || $THIS{'APP_SPEC'} |
572 | 0 | 0 | 0 | $THIS{'APP'} || caller |
595 | 0 | 6 | 0 | $THIS{'CLASS_SPEC'} || $THIS{'APP_SPEC'} |
622 | 0 | 3 | 0 | $THIS{'CLASS_SPEC'} || $THIS{'APP_SPEC'} |
629 | 0 | 3 | 0 | $THIS{'CLASS_SPEC'} || $THIS{'APP_SPEC'} |