Branch Coverage

blib/lib/Class/Classless.pm
Criterion Covered Total %
branch 37 124 29.8


line true false branch
1066 15 0 $Class::Classless::X::AUTOLOAD =~ /([^:]+)$/s ? :
1069 0 15 unless ref $it
1073 0 2 if scalar @_ and defined $_[0] and ref $_[0] eq 'Class::Classless::CALLSTATE::SHIMMY'
1078 0 0 $prevstate ? :
0 15 if $Class::Classless::Debug > 1
1083 0 15 $prevstate ? :
1084 0 15 $prevstate ? :
1089 0 15 if ($prevstate) { }
0 15 elsif (defined $$it{'ISA_CACHE'} and ref $$it{'ISA_CACHE'}) { }
1105 0 38 if $Class::Classless::Debug
1108 10 28 if (not defined $no_fail and exists $$lineage[$i]{'NO_FAIL'})
1111 0 10 if $Class::Classless::Debug
1117 15 23 if (ref($$lineage[$i]{'METHODS'} || 0) and exists $$lineage[$i]{'METHODS'}{$m})
1122 2 13 unless defined $v and ref $v
1124 11 2 if (ref $v eq 'CODE')
1127 0 11 $prevstate ? :
1136 1 1 if ref $v eq '_deref_array'
1137 1 0 if ref $v eq '_deref_scalar'
1142 0 0 if ($m eq 'DESTROY') { }
1143 0 0 if $Class::Classless::Debug
1146 0 0 if ($no_fail or 0)
1147 0 0 $prevstate ? :
0 0 if $Class::Classless::Debug
1153 0 0 $prevstate ? :
1178 0 17 if (exists $_[0]{'ISA_CACHE'})
1179 0 0 if defined $_[0]{'ISA_CACHE'} and ref $_[0]{'ISA_CACHE'}
1188 0 17 if $Class::Classless::Debug > 1
1207 0 92 unless defined($current = shift @in_stack) and ref $current and ref($$current{'PARENTS'} || 0)
1214 14 78 if @{$$current{'PARENTS'};} > 1
1218 20 75 if (exists $last_child{$_}) { }
1230 0 0 $has_mi ? :
0 17 if $Class::Classless::Debug > 1
1235 9 8 unless ($has_mi)
1236 0 9 if $set_cache
1257 0 75 unless defined($current = shift @in_stack) and ref $current
1269 75 0 if ref($$current{'PARENTS'} || 0)
1275 0 8 unless (scalar @out == scalar keys %last_child)
1279 0 0 if ref $_
1290 0 8 if $set_cache
1299 0 0 unless ref $it
1301 0 0 unless defined $m
1302 0 0 unless length $m
1304 0 0 if $Class::Classless::Debug > 1
1308 0 0 if ref($$o{'METHODS'} || 0) and exists $$o{'METHODS'}{$m}
1320 0 0 if $Class::Classless::Debug
1322 0 0 if (defined $_[1]) { }
1324 0 0 unless defined $v
1325 0 0 if $v < $_[1]
1341 0 0 unless ref $_[0] and ref $_[1]
1342 0 0 if $Class::Classless::Debug
1371 0 0 @stuff && defined $stuff[0] && ref $stuff[0] eq 'Class::Classless::PRETTYENV' ? :
1379 0 0 if defined $_ and ref $_ eq 'Class::Classless::X' and $$_{'NAME'}
1389 0 0 if (not defined $_) { }
0 0 elsif (ref $_ eq 'ARRAY') { }
0 0 elsif (ref $_ eq 'HASH') { }
0 0 elsif (not length $_) { }
0 0 elsif ($_ eq '0' or /^-?(?:[1-9]\d*)$/s) { }
0 0 elsif (s/([^\x20\x21\x23\x27-\x3F\x41-\x5B\x5D-\x7E])/'\\x' . unpack('H2', $1) unless $Class::Classless::Pretty_form{$1};/eg) { }
1393 0 0 $$Seen{$_}++ ? :
1398 0 0 $$Seen{$_}++ ? :
1421 0 0 unless $Class::Classless::Pretty_form{$1}
1484 0 0 unless defined $m