Branch Coverage

blib/lib/Palm/MaTirelire/Types.pm
Criterion Covered Total %
branch 0 86 0.0


line true false branch
68 0 0 if $id == $num - 1
74 0 0 unless defined $rec
82 0 0 defined $rec ? :
96 0 0 wantarray ? :
0 0 if $full_name eq $unfiled_name
103 0 0 if $sub_type =~ /^\s*\z/
107 0 0 if ($$cur_rec{'parent_id'} == $parent_id and $$cur_rec{'name'} eq $sub_type)
117 0 0 wantarray ? :
129 0 0 unless defined $new_id
136 0 0 if $$rec{'parent_id'} == $old_id
137 0 0 if $$rec{'child_id'} == $old_id
138 0 0 if $$rec{'brother_id'} == $old_id
152 0 0 if $full_name eq $unfiled_name
157 0 0 if (defined $final_id and defined($rec = $self->build_cache_id->[$final_id]))
160 0 0 if ($$rec{'auto_id'}) { }
162 0 0 unless defined $self->replaceAutoID($rec)
175 0 0 if @sub_types > 10
180 0 0 unless defined $sub_type
182 0 0 if $sub_type =~ /^\s*\z/
186 0 0 if ($$cur_rec{'parent_id'} == $parent_id and $$cur_rec{'name'} eq $sub_type)
191 0 0 if @sub_types == 0
203 0 0 if $sub_type =~ /^\s*\z/
205 0 0 $sub_idx == @sub_types - 1 ? :
208 0 0 unless defined $rec
230 0 0 if (defined $final_id) { }
235 0 0 if (defined $rec)
237 0 0 if ($$rec{'auto_id'}) { }
239 0 0 unless defined $self->replaceAutoID($rec)
254 0 0 unless defined $id
259 0 0 if $auto_id
262 0 0 if ($parent_id == 255) { }
268 0 0 if ($$rec_any{'parent_id'} == 255)
279 0 0 unless defined $parent_rec
298 0 0 if @{$$self{'records'};} == 0
311 0 0 if ($$rec{'parent_id'} == 255 and $first_id == 255 || $$rec{'brother_id'} == $first_id)
318 0 0 if (--$loops == 0)
336 0 0 $$rec{'brother_id'} == 255 ? :
347 0 0 if ($id != 255)
349 0 0 $$rec{'brother_id'} == 255 ? :
358 0 0 if $id != 255
362 0 0 if ($id != 255)
379 0 0 if (@types != @{$$self{'records'};})
385 0 0 if wantarray