blib/lib/Net/TinyERP/NotaFiscal.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 30 | 70.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
43 | 1 | 1 | 2 | $params and ref $params |
2 | 1 | 1 | $params and ref $params and ref $params eq 'HASH' | |
51 | 1 | 1 | 1 | $id and $id =~ /^\d+$/ |
65 | 1 | 1 | 1 | $id and $id =~ /^\d+$/ |
75 | 1 | 1 | 2 | $params and ref $params |
2 | 1 | 1 | $params and ref $params and ref $params eq 'HASH' | |
90 | 0 | 0 | 0 | $params->{'id'} and $params->{'id'} =~ /\A\d+\z/ |
0 | 0 | 0 | $params->{'serie'} and $params->{'numero'} | |
94 | 1 | 1 | 1 | $id and $id =~ /^\d+$/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
90 | 0 | 0 | 0 | $params->{'id'} and $params->{'id'} =~ /\A\d+\z/ or $params->{'serie'} and $params->{'numero'} |