Condition Coverage

blib/lib/Sub/Accessor/Small.pm
Criterion Covered Total %
condition 21 98 21.4


and 3 conditions

line !l l&&!r l&&r condition
19 8 0 0 !&HAS_SUB_UTIL() && eval {
62 0 0 24 defined $export_opts->{'into'} and not ref $export_opts->{'into'}
162 43 0 3 not ref $target and $target =~ /\A[^\W0-9]\w+\z/
173 0 0 43 ref $target eq 'SCALAR' and not defined $$target
179 0 0 0 not ref $target and $target eq 1
246 0 0 0 defined $name and defined $me->{'package'}
270 0 0 0 not exists $me->{'accessor'} and defined $name
275 0 0 0 not exists $me->{'reader'} and defined $name
280 0 0 0 not exists $me->{'reader'} and defined $name
282 0 0 0 not exists $me->{'writer'} and defined $name
287 0 0 0 not exists $me->{'reader'} and defined $name
319 19 5 0 defined $me->{'isa'} and not ref $me->{'isa'}
335 20 4 0 defined $me->{'trigger'} and not ref $me->{'trigger'}
658 0 0 8 &blessed($type) and $type->can('coercion')
0 0 0 &blessed($type) and $type->can('coerce')
678 0 0 8 &blessed($coercion) and $coercion->can('can_be_inlined')
0 0 8 &blessed($coercion) and $coercion->can('can_be_inlined') and $coercion->can_be_inlined
0 0 8 &blessed($coercion) and $coercion->can('can_be_inlined') and $coercion->can_be_inlined and $coercion->can('inline_coercion')
689 0 0 0 &blessed($coercion) and $coercion->can('coerce')
705 0 0 10 &blessed($type) and $type->isa('Type::Tiny')
0 0 10 &blessed($type) and $type->isa('Type::Tiny') and $type->can_be_inlined
722 0 0 0 &blessed($type) and $type->can('can_be_inlined')
0 0 0 &blessed($type) and $type->can('can_be_inlined') and $type->can_be_inlined
733 0 0 0 &blessed($type) and $type->can('check')
0 0 0 &blessed($type) and $type->can('check') and $type->can('get_message')

or 2 conditions

line l !l condition
316 0 0 $me->{'isa'} ||= sub {

or 3 conditions

line l !l&&r !l&&!r condition
26 8 0 0 eval {
102 0 1 0 $me->{'traits'} or $me->{'handles_via'}
291 0 0 0 $me->{'builder'} or $me->{'default'}
572 0 0 5 $me->{'trigger'} or $me->{'weak_ref'}
617 1 0 7 $me->{'lazy'} or $me->{'trigger'}
0 0 7 $me->{'lazy'} or $me->{'trigger'} or $me->{'weak_ref'}
726 0 0 0 $type->can('inline_check') || $type->can('_inline_check')