Branch Coverage

blib/lib/Test2/Util/HashBase.pm
Criterion Covered Total %
branch 29 34 85.2


line true false branch
45 246 0 $] >= 5.01 && require mro ? :
61 7728 0 if not $Test2::Util::HashBase::VERSION{$into} or $Test2::Util::HashBase::VERSION{$into} > $ver
69 164 6634 unless $Test2::Util::HashBase::ATTR_SUBS{$_}
72 6143 1585 $into->can('new') ? :
77 13857 21287 if $spec->{'strip'}
84 34932 212 if $spec->{'reader'}
85 21288 13856 if $spec->{'writer'}
86 12308 22836 if $spec->{'read_only'}
87 985 34159 if $spec->{'dep_writer'}
107 0 6 if (0.004 > ($Test2::Util::HashBase::VERSION{$_} || 0)) { }
112 6 0 $list ? :
126 469 5662 if (@_ == 1) { }
130 467 2 if ($type eq 'HASH') { }
134 0 2 unless $type eq 'ARRAY'
141 1 8 unless my $key = shift @attributes
153 2047 4083 unless exists $Test2::Util::HashBase::CAN_CACHE{$class}
155 5386 744 if $Test2::Util::HashBase::CAN_CACHE{$class}