Branch Coverage

blib/lib/Palm/Treo680MessagesDB.pm
Criterion Covered Total %
branch 40 44 90.9


line true false branch
25 1 7 if exists $opts{'timezone'}
26 1 7 if exists $opts{'incl_raw'}
27 1 7 if exists $opts{'debug'}
30 7 1 if (not $Palm::Treo680MessagesDB::debug)
35 3516 78 if $$_{'type'} ne 'unknown'
39 6 0 if $_[0]{'creator'} eq 'MsSt' and $_[0]{'type'} eq 'MsDb'
158 3594 599 unless $Palm::Treo680MessagesDB::incl_raw
169 2247 1946 if ($type == 16396 or $type == 16393) { }
1505 441 elsif ($type == 2) { }
7 434 elsif ($type == 1) { }
14 420 elsif ($type == 0 and substr($buf, 64, 1) ne "\000") { }
343 77 elsif ($type == 0) { }
170 2247 0 $type == 16396 ? :
195 2009 238 if ($record{'epoch'} > 0)
215 49 1456 unless length $name
216 70 1435 if $name and length $name == 31
234 7 1498 if ($msg eq "\cAN\@" and length $1 == 14)
268 0 7 if ($num eq '')
298 0 14 if ($num eq '')
332 7 336 if ($num eq '')
339 599 3594 if $Palm::Treo680MessagesDB::debug
346 91 4102 $type eq 'unknown' ? :