Condition Coverage

blib/lib/Net/Correios.pm
Criterion Covered Total %
condition 6 20 30.0


and 3 conditions

line !l l&&!r l&&r condition
51 2 1 8 $args{'username'} and $args{'password'}
75 0 10 0 defined $token_type and $token_type ne "cartao"
10 0 0 defined $token_type and $token_type ne "cartao" and $token_type ne "contrato"
86 0 0 0 $token_res->{'cartaoPostagem'} and !$self->{'cartao'} || $self->{'cartao'} eq $token_res->{'cartaoPostagem'}{'numero'}
105 0 0 0 exists $args->{'content'} && defined $args->{'content'} && length $args->{'content'}

or 2 conditions

line l !l condition
66 0 8 $args{'timeout'} || 5

or 3 conditions

line l !l&&r !l&&!r condition
86 0 0 0 !$self->{'cartao'} || $self->{'cartao'} eq $token_res->{'cartaoPostagem'}{'numero'}