Condition Coverage

blib/lib/WWW/Correios/SRO.pm
Criterion Covered Total %
condition 33 103 32.0


and 3 conditions

line !l l&&!r l&&r condition
300 0 0 0 $code and sro_ok($code)
364 0 0 5 $data and ref $data
0 5 0 $data and ref $data and ref $data eq 'ARRAY' || ref $data eq 'HASH'
377 0 0 0 $tipo eq 'FC' and $status == 1
0 0 0 $tipo eq 'LDI' and $status <= 3 || $status == 14
0 0 0 $tipo eq 'OEC' and $status == 0
391 0 0 2 $status != 20 and $status != 7
0 1 1 $status != 20 and $status != 7 and $status <= 21

or 2 conditions

line l !l condition
317 0 0 $params->{'username'} || 'ECT'
318 0 0 $params->{'password'} || 'SRO'

or 3 conditions

line l !l&&r !l&&!r condition
364 0 5 0 ref $data eq 'ARRAY' || ref $data eq 'HASH'
371 0 0 5 not ref $last or ref $last ne 'HASH'
0 0 5 not ref $last or ref $last ne 'HASH' or not exists $last->{'tipo'}
0 0 5 not ref $last or ref $last ne 'HASH' or not exists $last->{'tipo'} or not exists $last->{'status'}
377 0 0 5 $tipo eq 'BDR' or $tipo eq 'BDE'
0 5 0 $tipo eq 'BDR' or $tipo eq 'BDE' or $tipo eq 'BDI'
0 0 0 $status <= 3 || $status == 14
0 0 0 $tipo eq 'LDI' and $status <= 3 || $status == 14 or $tipo eq 'OEC' and $status == 0
382 1 0 3 $status == 9 or $status == 12
1 0 3 $status == 9 or $status == 12 or $status == 28
0 0 3 $status == 9 or $status == 12 or $status == 28 or $status == 37
0 0 3 $status == 9 or $status == 12 or $status == 28 or $status == 37 or $status == 43
0 0 3 $status == 9 or $status == 12 or $status == 28 or $status == 37 or $status == 43 or $status == 50
0 0 3 $status == 9 or $status == 12 or $status == 28 or $status == 37 or $status == 43 or $status == 50 or $status == 51
0 0 3 $status == 9 or $status == 12 or $status == 28 or $status == 37 or $status == 43 or $status == 50 or $status == 51 or $status == 52
0 0 3 $status == 9 or $status == 12 or $status == 28 or $status == 37 or $status == 43 or $status == 50 or $status == 51 or $status == 52 or $status == 80
388 0 1 2 $status == 54 or $status == 2
391 1 0 1 $status != 20 and $status != 7 and $status <= 21 or $status == 26
1 0 1 $status != 20 and $status != 7 and $status <= 21 or $status == 26 or $status == 33
0 0 1 $status != 20 and $status != 7 and $status <= 21 or $status == 26 or $status == 33 or $status == 36
0 0 1 $status != 20 and $status != 7 and $status <= 21 or $status == 26 or $status == 33 or $status == 36 or $status == 40
0 0 1 $status != 20 and $status != 7 and $status <= 21 or $status == 26 or $status == 33 or $status == 36 or $status == 40 or $status == 42
0 0 1 $status != 20 and $status != 7 and $status <= 21 or $status == 26 or $status == 33 or $status == 36 or $status == 40 or $status == 42 or $status == 48
0 0 1 $status != 20 and $status != 7 and $status <= 21 or $status == 26 or $status == 33 or $status == 36 or $status == 40 or $status == 42 or $status == 48 or $status == 49
0 0 1 $status != 20 and $status != 7 and $status <= 21 or $status == 26 or $status == 33 or $status == 36 or $status == 40 or $status == 42 or $status == 48 or $status == 49 or $status == 56