Branch Coverage

blib/lib/PDL/Options.pm
Criterion Covered Total %
branch 43 104 41.3


line true false branch
109 18 79 defined $href && ref $href eq 'HASH' ? :
117 0 21 if scalar @_ != 3
121 0 21 unless ref $defaults eq "HASH"
125 0 21 unless ref $user eq "HASH"
196 67 0 if (@_)
214 0 0 unless ref $opt eq "HASH"
275 67 135 if (@_)
277 0 67 unless ref $arg eq "HASH"
303 0 0 unless @_
305 0 0 unless ref $arg eq "HASH"
325 0 0 unless @_
327 0 0 unless ref $arg eq "HASH"
352 33 135 if (@_)
354 0 33 unless ref $arg eq "HASH"
380 165 0 if ($self->full_options) { }
388 0 0 if exists $curr->{$key}
415 52 83 if (@_)
425 337 300 if (@_)
427 0 337 unless ref $arg eq "HASH"
469 0 135 if (@_)
471 0 0 unless ref $arg eq "HASH"
496 0 135 if (@_)
518 0 165 if (@_)
534 22 110 if (@_)
556 22 110 if (@_)
573 0 135 if (@_)
589 0 0 if (@_)
610 0 0 if (@_)
626 0 0 if (ref $self) { }
627 0 0 if (@_)
630 0 0 if @_
645 105 0 if (ref $self) { }
646 0 105 if (@_)
649 0 0 if @_
688 135 0 if (@_)
692 0 135 unless ref $arg eq "HASH"
699 0 135 if ($self->incremental) { }
722 5 100 if ($#matched == -1)
734 0 105 if ($#matched == -1) { }
735 0 0 if $self->{'WarnOnMissing'}
737 0 105 if ($#matched > 0)
747 0 105 if $self->debug
763 135 0 if $self->autotrans
795 0 543 if (exists $trans{$key})
807 0 0 if ($#matched > -1)
808 0 0 if ($#matched > 0)
816 0 0 if $self->debug
851 0 110 unless defined $key
857 110 0 if ($flag == 0) { }
868 0 110 if ($casesens) { }
880 0 0 if ($#result == -1 and $minmatch)
897 17 93 if ($#result == -1 and $minmatch)