Branch Coverage

blib/lib/Palm/MaTirelire/DBItemId.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
31 0 0 if defined $unfiled_name and $id == $num - 1
33 0 0 defined $ref_cache ? :
35 0 0 unless defined $rec
55 0 0 unless defined $unfiled_name
77 0 0 defined $$rec{$id_field} ? :
88 0 0 defined $unfiled_name ? :
0 0 if $id >= $num - (defined $unfiled_name ? 1 : 0)
94 0 0 defined $$rec{$id_field} ? :
114 0 0 unless defined $ids[$free_id]
117 0 0 defined $unfiled_name ? :
0 0 if $free_id < $num - (defined $unfiled_name ? 1 : 0)
130 0 0 defined $unfiled_name ? :
0 0 if ($id >= $num - (defined $unfiled_name ? 1 : 0))
138 0 0 if exists $$rec{$id_field} and $$rec{$id_field} == $id
152 0 0 wantarray ? :
0 0 if $name eq $unfiled_name
159 0 0 if (exists $$rec{$id_field} and $name eq $self->full_name($$rec{$id_field}, $ref_cache))
162 0 0 unless wantarray
168 0 0 wantarray ? :
179 0 0 defined $unfiled ? :
184 0 0 if (exists $$rec{$id_field})
188 0 0 if ($id >= $num - $unfiled) { }