Branch Coverage

blib/lib/PDL/Options.pm
Criterion Covered Total %
branch 42 102 41.1


line true false branch
111 10 43 defined $href && ref $href eq 'HASH' ? :
119 0 19 if scalar @_ != 3
123 0 19 unless ref $defaults eq 'HASH'
127 0 19 unless ref $user eq 'HASH'
198 98 0 if (@_)
216 0 0 unless ref $opt eq 'HASH'
277 98 87 if (@_)
279 0 98 unless ref $arg eq 'HASH'
305 0 0 unless @_
307 0 0 unless ref $arg eq 'HASH'
327 0 0 unless @_
329 0 0 unless ref $arg eq 'HASH'
354 30 87 if (@_)
356 0 30 unless ref $arg eq 'HASH'
382 116 0 if ($self->full_options) { }
390 0 0 if exists $curr->{$key}
417 39 48 if (@_)
427 272 203 if (@_)
429 0 272 unless ref $arg eq 'HASH'
471 0 87 if (@_)
473 0 0 unless ref $arg eq 'HASH'
498 0 87 if (@_)
520 0 116 if (@_)
536 20 63 if (@_)
558 20 63 if (@_)
575 0 87 if (@_)
591 0 0 if (@_)
612 0 0 if (@_)
628 0 0 if (ref $self) { }
629 0 0 if (@_)
632 0 0 if @_
647 60 0 if (ref $self) { }
648 0 60 if (@_)
651 0 0 if @_
690 87 0 if (@_)
694 0 87 unless ref $arg eq 'HASH'
701 0 87 if ($self->incremental) { }
724 3 57 if ($#matched == -1)
736 0 60 if ($#matched == -1) { }
737 0 0 if $self->{'WarnOnMissing'}
739 0 60 if ($#matched > 0)
749 0 60 if $self->debug
765 87 0 if $self->autotrans
797 0 381 if (exists $trans{$key})
809 0 0 if ($#matched > -1)
810 0 0 if ($#matched > 0)
818 0 0 if $self->debug
858 63 0 if ($flag == 0) { }
869 0 63 if ($casesens) { }
881 0 0 if ($#result == -1 and $minmatch)
901 15 48 if ($#result == -1 and $minmatch)