Condition Coverage

blib/lib/Struct/Dumb.pm
Criterion Covered Total %
condition 9 17 52.9


and 3 conditions

line !l l&&!r l&&r condition
209 32 1 0 s/^\?//u and ++$optional{$_}
445 0 0 4 defined $class and $struct->isa("Struct::Dumb::Struct")

or 2 conditions

line l !l condition
233 2 0 ref $_[0] || ''

or 3 conditions

line l !l&&r !l&&!r condition
266 0 0 0 exists $values{$_} or $optional->{$_}
318 19 1 1 exists $values{$_} or $optional{$_}
321 14 1 0 $fieldnames{$_} or croak("usage: $pkg does not recognise '${_}'")