Branch Coverage

blib/lib/Struct/Dumb.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
134 1 1 if ($_ eq '-named_constructors') { }
142 9 1 unless keys %syms
146 9 1 if (delete $syms{'struct'})
152 1 9 if (delete $syms{'readonly_struct'})
159 0 10 if (keys %syms)
188 3 5 if ($named) { }
193 1 1 unless exists $values{$_} or $optional{$_}
197 1 4 if (my($extrakey) = keys %values)
207 1 8 unless @_ == $fieldcount
222 1 7 if @_ > 1
224 0 1 if @_ > 1
225 18 2 $lvalue ? :
238 1 7 if (my $predicate = $opts{'predicate'})
364 0 0 unless $INC{'Data/Dump.pm'}
370 0 0 unless my $meta = $_STRUCT_PACKAGES{$ctx->class}
380 0 0 $meta->{'named'} ? :
402 0 0 unless $GD