Condition Coverage

blib/lib/Statistics/Shannon.pm
Criterion Covered Total %
condition 13 15 86.6


and 3 conditions

line !l l&&!r l&&r condition
214 8 1 1 @_ == 2 and $base <= 1
235 4 3 0 exists $self->{'shannon'} and defined $self->{'shannon'}{$base}
254 5 1 1 @_ == 2 and $base <= 1
265 2 3 1 defined $E && @_ == 2

or 3 conditions

line l !l&&r !l&&!r condition
218 1 8 0 $base ||= $Napier