Condition Coverage

blib/lib/HP200LX/DB.pm
Criterion Covered Total %
condition 37 227 16.3


and 2 conditions

line l !l condition
1866 0 0 $ok and 0

and 3 conditions

line !l l&&!r l&&r condition
471 1 21 0 $type > 1 and $$obj{'Meta'} eq 'Encrypted'
22 0 0 $type > 1 and $$obj{'Meta'} eq 'Encrypted' and not $$obj{'dont_decrypt'}
492 1 20 0 $type > 1 and $$obj{'Meta'} eq 'Encrypted'
21 0 0 $type > 1 and $$obj{'Meta'} eq 'Encrypted' and $$obj{'dont_decrypt'}
557 0 0 0 $type == 14 and $APT eq 'ADB'
923 0 0 0 $cv >= 0 and $cv <= 31
0 0 0 $cv >= 60 and $cv <= 62
0 0 0 $cv >= 127 and $cv <= 255
967 0 0 0 $status ne 'record' and $status ne 'data'
1183 1 0 0 $year == $no_year && $mon == $no_mon && $day == $no_day
1267 10 1 0 $type == 2 and $APT eq 'ADB'
11 0 0 $type == 2 and $APT eq 'ADB' and $off eq 27
7 0 0 $type == 24 and $APT eq 'ADB'
6 0 0 $type == 19 and $APT eq 'ADB'
0 0 0 $type == 18 and $APT eq 'ADB'
0 0 0 $type == 16 and $APT == 'WDB'
0 0 0 $APT eq 'ADB' and $type == 23 || $type == 20
0 0 0 $APT eq 'ADB' and $type == 22
1339 0 0 0 $type == 23 and $APT2 eq 'To-Do'
1340 0 0 0 $type == 20 and $APT2 ne 'To-Do'
1438 0 0 0 $APT eq 'ADB' and $APT2 eq 'To-Do'
1477 0 0 0 $note_nr == $no_note and $val ne ''
0 0 0 $note_nr != $no_note and $val eq ''
0 0 0 $note_nr != $no_note and $val ne ''

or 2 conditions

line l !l condition
233 1 0 shift() || 'GDB'
563 0 0 $$xrec{'off'} || 'SEQ'
839 0 0 $$self{'Types'} || die()
843 0 0 shift() || 0
852 0 0 $$D[$rec] || (next)
853 0 0 $$d{'data'} || (next)
866 0 0 shift() || 'auto'
1033 1 0 $$db{'Types'} || die('not a database')
1064 0 0 $$db{'Types'} || (return undef)
1077 0 0 $$db{'Types'} || (return undef)
1092 0 0 $$db{'Types'} || die()
1129 0 0 $$db{'Types'} || die()
1142 0 0 $$db{'Types'} || die()
1160 0 0 $$db{'Types'} || die()
2012 0 0 $$self{'Types'} || die()

or 3 conditions

line l !l&&r !l&&!r condition
165 0 1 0 shift() || &derive_apt($fnm)
417 0 0 22 $siz < 0 or $off < 0
433 0 0 22 $type < 0 or $type >= 32
586 0 0 0 shift() || $$self{'Filename'}
822 0 0 0 $f eq 'Parent' or $f eq 'Style'
844 0 0 0 shift() || $#$D
845 0 0 0 shift() || $$self{'fielddef'}
889 0 0 0 $Ty == 5 or $Ty == 9
0 0 0 $Ty == 5 or $Ty == 9 or $Ty == 11
893 0 0 0 $REC_TYPE[$Ty] || "USER$Ty"
923 0 0 0 $cv >= 0 and $cv <= 31 or $cv >= 60 and $cv <= 62
0 0 0 $cv >= 0 and $cv <= 31 or $cv >= 60 and $cv <= 62 or $cv >= 127 and $cv <= 255
958 0 0 0 /^#/ or /^[ \t]*$/
1199 0 0 0 $year < 1900 or $year > 2155
0 0 0 $year < 1900 or $year > 2155 or $mon < 1
0 0 0 $year < 1900 or $year > 2155 or $mon < 1 or $mon > 12
0 0 0 $year < 1900 or $year > 2155 or $mon < 1 or $mon > 12 or $day < 1
0 0 0 $year < 1900 or $year > 2155 or $mon < 1 or $mon > 12 or $day < 1 or $day > 31
1218 0 0 1 $val == $no_time or $val == $no_val
1267 1 0 10 $type == 2 or $type == 3
1 1 9 $type == 2 or $type == 3 or $type == 4
1 1 8 $type == 2 or $type == 3 or $type == 4 or $type == 6
1 0 7 $type == 7 or $type == 24 and $APT eq 'ADB'
1 0 6 $type == 8 or $type == 19 and $APT eq 'ADB'
1 1 1 $type == 11 or $type == 12
2 1 0 $type == 11 or $type == 12 or $type == 14
2 0 0 $type == 11 or $type == 12 or $type == 14 or $type == 15
1 0 0 $type == 11 or $type == 12 or $type == 14 or $type == 15 or $type == 18 and $APT eq 'ADB'
0 0 0 $type == 23 || $type == 20
1402 0 0 0 $type == 2 or $type == 3
0 0 0 $type == 2 or $type == 3 or $type == 4
0 0 0 $type == 2 or $type == 3 or $type == 4 or $type == 6
0 0 0 $type == 11 or $type == 12
0 0 0 $type == 11 or $type == 12 or $type == 14
0 0 0 $type == 11 or $type == 12 or $type == 14 or $type == 15
1444 0 0 0 not $ex or $t < 0
0 0 0 not $ex or $t < 0 or $t > $no_time
1677 0 0 0 $$ftype{'Desc'} || "USER$type"
1746 0 0 0 $REC_TYPE[$type] || "USER$type"
1876 0 0 0 shift() || *STDOUT
1896 0 0 0 $v < 32 or $v >= 127