Condition Coverage

blib/lib/Sub/SymMethod.pm
Criterion Covered Total %
condition 26 51 50.9


and 3 conditions

line !l l&&!r l&&r condition
53 0 0 0 defined $_[0] and not ref $_[0]
143 6 0 8 $kind eq "class" and not $args{'no_dispatcher'}
147 8 0 6 $kind eq "role" and not $args{'no_hook'}

or 2 conditions

line l !l condition
68 14 10 $SPECS{$target}{$name} ||= []
73 12 0 $SPECS{$target} ||= {}
263 4 6 $ROLES{$target} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
95 58 0 14 $KNOWN_OPTIONS{$key} or $key =~ /^_/
106 0 14 0 $tp{'package'} ||= $target
107 0 14 0 $tp{'subname'} ||= ref $sub_name ? "__ANON__" : $sub_name
120 0 0 14 $tp{'positional'} or $tp{'pos'}
0 2 12 $tp{'positional'} or $tp{'pos'} or $tp{'named'}
2 0 12 $tp{'positional'} or $tp{'pos'} or $tp{'named'} or $tp{'multiple'}
0 0 12 $tp{'positional'} or $tp{'pos'} or $tp{'named'} or $tp{'multiple'} or $tp{'multi'}
175 0 0 2 $name eq "BUILD" or $name eq "DEMOLISH"
0 0 2 $name eq "BUILD" or $name eq "DEMOLISH" or $name eq "new"
201 4 2 36 $spec->{'signature'} or $spec->{'signature_spec'}
222 0 2 0 &blessed($invocant) || $invocant
281 0 6 0 &blessed($invocant) || $invocant