Branch Coverage

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


line true false branch
23 1 7 if exists $opts{'timezone'}
24 1 7 if exists $opts{'incl_raw'}
25 1 7 if exists $opts{'debug'}
28 7 1 if (not $Palm::Treo680MessagesDB::debug)
33 3516 78 if $$_{'type'} ne 'unknown'
37 6 0 if $_[0]{'creator'} eq 'MsSt' and $_[0]{'type'} eq 'MsDb'
156 3594 599 unless $Palm::Treo680MessagesDB::incl_raw
167 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) { }
168 2247 0 $type == 16396 ? :
193 2009 238 if ($record{'epoch'} > 0)
213 49 1456 unless length $name
214 70 1435 if $name and length $name == 31
232 7 1498 if ($msg eq "\cAN\@" and length $1 == 14)
266 0 7 if ($num eq '')
296 0 14 if ($num eq '')
330 7 336 if ($num eq '')
337 599 3594 if $Palm::Treo680MessagesDB::debug
344 91 4102 $type eq 'unknown' ? :