Branch Coverage

blib/lib/Palm/ThinkDB.pm
Criterion Covered Total %
branch 61 90 67.7


line true false branch
60 2 195 if ($record_type == 1) { }
158 37 elsif ($record_type > 2 and $record_type < 82) { }
23 14 elsif ($record_type == 87) { }
86 4 154 if ($num > 0)
115 23 0 if ($id > $$self{'high_id'})
123 22 59 if ($ctype == 1) { }
22 37 elsif ($ctype == 2) { }
2 35 elsif ($ctype == 3) { }
2 33 elsif ($ctype == 4) { }
4 29 elsif ($ctype == 5) { }
0 29 elsif ($ctype == 6) { }
2 27 elsif ($ctype == 7) { }
2 25 elsif ($ctype == 8) { }
0 25 elsif ($ctype == 9) { }
2 23 elsif ($ctype == 10) { }
0 23 elsif ($ctype == 12) { }
0 23 elsif ($ctype == 15) { }
0 23 elsif ($ctype == 19) { }
165 0 0 $val ? :
207 0 0 if ($ltype == 1) { }
0 0 elsif ($ltype == 11) { }
273 79 20 if ($$record{'type'} > 2 and $$record{'type'} < 82) { }
12 8 elsif ($$record{'type'} == 87) { }
275 0 79 if (defined $$self{'list_mod'}{$cid} and $$self{'list_mod'}{$cid} == 1) { }
290 1 11 unless (defined $$record{'idnum'})
303 11 18 if ($ctype == 1) { }
11 7 elsif ($ctype == 2) { }
1 6 elsif ($ctype == 3) { }
2 4 elsif ($ctype == 5) { }
0 4 elsif ($ctype == 6) { }
1 3 elsif ($ctype == 7) { }
1 2 elsif ($ctype == 8) { }
1 1 elsif ($ctype == 10) { }
320 0 0 $$record{'col'}{$field} ? :
346 12 0 if ($retval ne $$record{'data'})
373 0 18 if ($$self{'cols'}[$i]{'name'} eq $name)
388 0 0 if ($$rec{'type'} == 87)
389 0 0 unless $$rec{'attributes'}{'deleted'}
402 18 2 if (defined $$self{'cols'}[$i])
417 2 2 if ($$self{'list'}{$cid}[$i] eq $txt)
443 0 2 if ($cnum > 0)
455 0 0 if ($cnum > 0) { }
456 0 0 if (defined $$record{'col'}{$cnum}) { }
468 0 97 if $DEBUG
472 0 114 if $DEBUG