Branch Coverage

blib/lib/Net/TinyERP/NotaFiscal.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
32 0 0 if ($res->is_success) { }
43 2 1 unless $params and ref $params and ref $params eq 'HASH'
51 2 1 unless $id and $id =~ /^\d+$/
65 2 1 unless $id and $id =~ /^\d+$/
75 2 1 unless $params and ref $params and ref $params eq 'HASH'
85 0 3 if (ref $params) { }
90 0 0 unless $params->{'id'} and $params->{'id'} =~ /\A\d+\z/ or $params->{'serie'} and $params->{'numero'}
94 2 1 unless $id and $id =~ /^\d+$/