blib/lib/Net/Correios.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 17 | 35.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 2 | 1 | 7 | $args{'username'} and $args{'password'} |
73 | 0 | 8 | 0 | defined $token_type and $token_type ne "cartao" |
8 | 0 | 0 | defined $token_type and $token_type ne "cartao" and $token_type ne "contrato" | |
84 | 0 | 0 | 0 | $token_res->{'cartaoPostagem'} and !$self->{'cartao'} || $self->{'cartao'} eq $token_res->{'cartaoPostagem'}{'numero'} |
line | l | !l | condition |
---|---|---|---|
64 | 0 | 7 | $args{'timeout'} || 5 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
84 | 0 | 0 | 0 | !$self->{'cartao'} || $self->{'cartao'} eq $token_res->{'cartaoPostagem'}{'numero'} |