Branch Coverage

blib/lib/Net/TinyERP/NotaFiscalServicos.pm
Criterion Covered Total %
branch 11 14 78.5


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 2 1 unless $id and $id =~ /^\d+$/
71 2 1 unless $params and ref $params and ref $params eq 'HASH'
82 3 0 unless (ref $params)
86 2 1 unless $params->{'id'} and $params->{'id'} =~ /\A\d+\z/s