Branch Coverage

blib/lib/Palm/Datebook.pm
Criterion Covered Total %
branch 27 100 27.0


line true false branch
50 0 0 if ($$params{'app'} eq 'Calendar' or $$self{'creator'} eq 'PDat') { }
52 0 0 if $$self{'creator'} eq "\000\000\000\000"
55 0 0 if $$self{'creator'} eq "\000\000\000\000"
57 0 0 if $$self{'type'} eq "\000\000\000\000"
200 0 7 $flags & 32768 ? :
201 2 5 $flags & 16384 ? :
202 3 4 $flags & 8192 ? :
203 0 7 $flags & 4096 ? :
204 0 7 $flags & 2048 ? :
205 7 0 $flags & 1024 ? :
206 0 7 $iscal && $flags & 512 ? :
208 0 7 $iscal ? :
210 0 7 if ($when_changed)
215 2 5 if ($have_alarm)
227 3 4 if ($have_repeat)
244 1 2 if ($endDate != 65535)
261 1 2 if ($type == 2) { }
0 2 elsif ($type == 3) { }
272 1 6 if ($repeatOn & 1 << $i) { }
296 0 7 if ($have_exceptions)
325 7 0 if ($have_description)
333 0 7 if ($have_note)
341 0 7 if ($have_location)
351 0 0 if ($iscal and length $other_data >= 21 and substr($other_data, 0, 4) eq 'Bd00')
353 0 0 if ($len + 6 <= length $other_data)
360 0 0 if $record{'timezone'}{'offset'} > 32767
362 0 0 if $record{'timezone'}{'dst_adjustment'} > 32767
364 0 0 $record{'timezone'}{'flags'} & 128 ? :
370 0 7 if $other_data ne ''
409 0 0 if ($$record{'when_changed'})
416 0 0 if (defined $$record{'alarm'} and %{$$record{'alarm'};})
426 0 0 if (defined $$record{'repeat'} and %{$$record{'repeat'};})
435 0 0 if (defined $$record{'repeat'}{'end_day'})
446 0 0 if ($$record{'repeat'}{'type'} == 2) { }
0 0 elsif ($$record{'repeat'}{'type'} == 3) { }
454 0 0 if ($$record{'repeat'}{'repeat_days'}[$i])
465 0 0 if ($weeknum > 5)
484 0 0 if (defined $$record{'exceptions'} and @{$$record{'exceptions'};})
508 0 0 if (defined $$record{'description'} and $$record{'description'} ne '')
516 0 0 if (defined $$record{'note'} and $$record{'note'} ne '')
524 0 0 if ($iscal and defined $$record{'location'} and $$record{'location'} ne '')
538 0 0 if defined $alarm
539 0 0 if defined $repeat
540 0 0 if defined $exceptions
541 0 0 if defined $description
542 0 0 if defined $note
543 0 0 if defined $location
545 0 0 if ($iscal and $$record{'timezone'})
547 0 0 if $$record{'timezone'}{'custom'}
558 0 0 if exists $$record{'other_data'}