Branch Coverage

blib/lib/ZConf/Weather.pm
Criterion Covered Total %
branch 0 144 0.0


line true false branch
53 0 0 if (defined $_[1])
67 0 0 if (not defined $args{'zconf'}) { }
70 0 0 if (defined $$self{'zconf'}{'error'})
88 0 0 if ($$self{'zconf'}{'error'})
99 0 0 if (not $returned) { }
102 0 0 if ($$self{'zconf'}{'error'})
111 0 0 if ($$self{'zconf'}{'error'})
122 0 0 unless ($returned)
125 0 0 if ($$self{'zconf'}{'error'})
136 0 0 if ($$self{'zconf'}{'error'})
166 0 0 if ($$self{'error'})
170 0 0 unless (defined $$self{'zconf'}{'conf'}{'weather'}{'defaultLocal'})
196 0 0 if ($$self{'error'})
200 0 0 unless (defined $$self{'zconf'}{'conf'}{'weather'}{'defaultType'})
226 0 0 if ($$self{'error'})
231 0 0 if ($$self{'zconf'}{'error'})
260 0 0 if ($$self{'error'})
264 0 0 unless (defined $template)
272 0 0 if ($$self{'error'})
277 0 0 unless ($returned)
307 0 0 if ($$self{'error'})
316 0 0 unless ($arrayref)
345 0 0 if ($$self{'error'})
350 0 0 unless (defined $name)
352 0 0 if ($$self{'error'})
362 0 0 if ($$self{'error'})
367 0 0 unless ($returned)
378 0 0 if ($type eq 'template')
384 0 0 unless ($weather)
424 0 0 if ($$self{'error'})
429 0 0 if (defined $$self{'zconf'}{'error'})
439 0 0 unless ($returned)
441 0 0 if ($$self{'zconf'}{'error'})
454 0 0 if ($$self{'zconf'}{'error'})
482 0 0 if ($$self{'error'})
487 0 0 if ($$self{'zconf'}{'error'})
527 0 0 if ($$self{'error'})
532 0 0 if ($$self{'zconf'}{'error'})
560 0 0 if ($$self{'error'})
565 0 0 if ($$self{'zconf'}{'error'})
606 0 0 if ($$self{'error'})
611 0 0 if ($$self{'error'})
618 0 0 if ($locals[$int] eq $local)
654 0 0 if ($$self{'error'})
659 0 0 if ($$self{'zconf'}{'error'})
689 0 0 if ($$self{'error'})
694 0 0 unless (defined $name)
696 0 0 if ($$self{'error'})
704 0 0 unless ($arrayref)
715 0 0 if ($type eq 'template')
720 0 0 if ($type eq 'dump')
730 0 0 if ($type eq 'template')
733 0 0 if ($$self{'error'})
784 0 0 if (defined $_[1])
791 0 0 if ($$self{'error'})
796 0 0 unless (defined $args{'local'})
804 0 0 unless (defined $args{'type'})
812 0 0 if ($args{'type'} ne 'print' or $args{'type'} ne 'template')
820 0 0 unless (defined $$self{'zconf'}->setNameLegit($args{'name'}))
827 0 0 if ($args{'type'} eq 'template')
829 0 0 unless (defined $args{'template'})
838 0 0 if ($$self{'error'})
848 0 0 if ($$self{'zconf'}{'error'})
861 0 0 if ($args{'type'} eq 'template')
888 0 0 if ($$self{'error'})
893 0 0 unless (defined $name)
901 0 0 unless (defined $template)
909 0 0 if ($$self{'zconf'}{'error'})
942 0 0 if ($$self{'error'})
947 0 0 if ($$self{'error'})
954 0 0 if ($templates[$int] eq $template)
979 0 0 if ($$self{'perror'})