Branch Coverage

blib/lib/Net/Correios/Preco.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
16 0 2 unless @args
19 1 1 if (ref $args[0] eq 'HASH') { }
51 0 0 $arg->{'tipo'} eq 'rolo' ? :
0 0 $arg->{'tipo'} eq 'carta' ? :
0 0 $arg->{'tipo'} eq 'envelope' ? :
1 0 $arg->{'tipo'} eq 'caixa' ? :
72 2 0 $contrato ? :
0 2 $arg->{'data'} ? :
74 2 0 if ($servico ne "04227")
75 2 0 if ($arg->{'valor_declarado'})
77 1 0 $servico eq '03298' ? :
1 1 $servico eq '03220' ? :
82 2 0 if ($arg->{'aviso_recebimento'})