Branch Coverage

blib/lib/Class/MakeMethods/Standard/Hash.pm
Criterion Covered Total %
branch 32 44 72.7


line true false branch
116 2 16 ref $callee ? :
120 0 33 unless UNIVERSAL::can($self, $method)
178 60 43 if (scalar @_ == 0) { }
290 4 5 if (scalar @_ == 0) { }
1 4 elsif (scalar @_ == 1 and ref $_[0] eq 'ARRAY') { }
291 0 4 if ($init and not defined $$self{$hash_key})
295 0 1 wantarray ? :
3 1 !$$self{$hash_key} ? :
300 0 1 wantarray ? :
0 1 !$$self{$hash_key} ? :
388 4 5 if (scalar @_ == 0) { }
4 1 elsif (scalar @_ == 1) { }
0 1 elsif (scalar(@_) % 2) { }
389 0 4 if ($init and not defined $$self{$hash_key})
393 0 1 wantarray ? :
3 1 !$$self{$hash_key} ? :
396 1 3 if (ref $_[0] eq 'HASH') { }
0 3 elsif (ref $_[0] eq 'ARRAY') { }
469 0 1 if ($init and not $class)
475 1 2 if (scalar @_) { }
477 0 1 if ($class and not UNIVERSAL::isa($value, $class))
482 0 2 if ($init and not defined $$self{$hash_key})