blib/lib/Math/LinearCombination.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 26 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
27 | 3 | 0 | 1 | @_ == 1 and defined ref $_[0] |
3 | 0 | 1 | @_ == 1 and defined ref $_[0] and $_[0]->isa('Math::LinearCombination') | |
52 | 0 | 0 | 0 | defined $$ra_args[0] and defined ref $$ra_args[0] |
0 | 0 | 0 | defined $$ra_args[0] and defined ref $$ra_args[0] and ref $$ra_args[0] eq 'ARRAY' | |
76 | 8 | 0 | 3 | @_ == 1 && defined ref $_[0] && ref $_[0] eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
87 | 2 | 6 | $$this{'_entries'}{$var->id} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
26 | 1 | 3 | 0 | ref $proto || $proto |
50 | 0 | 0 | 0 | ref $proto || $proto |
199 | 9 | 3 | 2 | $coeff < 0 or @str_entries |