Branch Coverage

blib/lib/Net/TinyERP/NotaFiscalServicos.pm
Criterion Covered Total %
branch 12 16 75.0


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+$/
61 3 0 unless (ref $params)
65 2 1 unless $params->{'id'} and $params->{'id'} =~ /\A\d+\z/s
74 2 1 unless $params and ref $params and ref $params eq 'HASH'
85 3 0 unless (ref $params)
89 2 1 unless $params->{'id'} and $params->{'id'} =~ /\A\d+\z/s