blib/lib/PDL/NDBin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 37 | 43 | 86.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
211 | 262 | 195 | 35 | $v->{'action'} and !defined($v->{'pdl'}) || $v->{'pdl'}->isempty |
225 | 82 | 7 | 173 | defined $axis->{'step'} and defined $axis->{'min'} |
89 | 16 | 157 | defined $axis->{'step'} and defined $axis->{'min'} and defined $axis->{'n'} | |
255 | 93 | 0 | 2 | defined $axis->{'round'} and $axis->{'round'} > 0 |
273 | 15 | 8 | 0 | $axis->{'pdl'}->type < PDL::float() and $axis->{'step'} < 1 |
511 | 25 | 0 | 32 | @leading > 3 and eval { do { $leading[0]->isa('PDL') } } |
25 | 1 | 31 | @leading > 3 and eval { do { $leading[0]->isa('PDL') } } and not grep(ref($_), @leading[1..3]) |
line | l | !l | condition |
---|---|---|---|
73 | 599 | 355 | $b || 0 |
104 | 162 | 82 | $params{'axes'} ||= [] |
114 | 98 | 142 | $params{'vars'} ||= [] |
401 | 26 | 188 | $self->{'instances'} ||= [map({_make_instance('N', $N, 'action', $_->{'action'});} $self->vars)] |
523 | 0 | 19 | $args->{'axes'} ||= [] |
531 | 10 | 9 | $args->{'vars'} ||= [] |
569 | 2 | 47 | $args->{'axes'} ||= [] |
577 | 16 | 33 | $args->{'vars'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
211 | 76 | 16 | 138 | !defined($v->{'pdl'}) || $v->{'pdl'}->isempty |
242 | 0 | 0 | 9 | $axis->{'grid'}->nelem < 2 or $axis->{'grid'}->ndims > 1 |