Branch Coverage

blib/lib/ZConf/Runner.pm
Criterion Covered Total %
branch 0 192 0.0


line true false branch
57 0 0 if (defined $_[1])
65 0 0 if (not defined $args{'zconf'}) { }
68 0 0 if (defined $$self{'zconf'}{'error'})
84 0 0 if ($$self{'zconf'}{'error'})
95 0 0 unless ($returned)
97 0 0 if ($$self{'zconf'}{'error'})
110 0 0 unless ($returned)
113 0 0 if ($$self{'zconf'}{'error'})
125 0 0 if ($$self{'zconf'}{'error'})
166 0 0 if ($$self{'error'})
171 0 0 unless (defined $mimetype)
179 0 0 unless (defined $action)
186 0 0 unless ($self->validActionName($action))
195 0 0 if ($$self{'error'})
201 0 0 unless ($returned)
211 0 0 if ($$self{'error'})
220 0 0 if ($actions[$int] eq $action)
256 0 0 if (defined $_[3])
263 0 0 if ($$self{'error'})
271 0 0 unless (defined $mimetype)
279 0 0 if (not defined $args{'useX'}) { }
283 0 0 if ($args{'useX'})
290 0 0 if (defined $ENV{'TERMINAL'})
303 0 0 if ($args{'useX'}) { }
305 0 0 if ($? == -1)
314 0 0 if ($$self{'zconf'}{'error'})
322 0 0 if ($$self{'error'})
334 0 0 if ($? == -1)
342 0 0 if ($exitcode == 14)
347 0 0 if ($exitcode == 15)
392 0 0 if (defined $_[3])
399 0 0 if ($$self{'error'})
404 0 0 unless (defined $object)
412 0 0 unless (defined $args{'ask'})
417 0 0 unless (defined $args{'exec'})
422 0 0 unless (defined $action)
433 0 0 unless (defined $mimetype)
441 0 0 if ($$self{'error'})
443 0 0 unless ($args{'ask'})
450 0 0 if ($$zcrg{'error'})
459 0 0 unless ($returned)
471 0 0 if ($$self{'zconf'}{'error'})
484 0 0 if ($type eq 'exec')
493 0 0 if ($args{'exec'}) { }
502 0 0 if ($type eq 'desktop')
504 0 0 unless ($self->validDesktopEntry($do))
544 0 0 if ($$self{'error'})
549 0 0 unless (defined $self->validAction($mimetype, $action))
587 0 0 if ($$self{'error'})
592 0 0 if ($$self{'zconf'}{'error'})
624 0 0 if ($$self{'error'})
629 0 0 unless (defined $mimetype)
638 0 0 if ($$self{'error'})
644 0 0 unless ($returned)
653 0 0 if ($$self{'zconf'}{'error'})
705 0 0 if ($$self{'error'})
711 0 0 if ($$self{'zconf'}{'error'})
761 0 0 if ($$self{'error'})
766 0 0 if ($$self{'zconf'}{'error'})
815 0 0 if (defined $_[1])
822 0 0 if ($$self{'error'})
833 0 0 unless (defined $args{$reqArgs[$reqArgsInt]})
846 0 0 if (!$args{'type'} eq 'desktop' and !$args{'type'} eq 'exec')
854 0 0 unless ($self->validActionName($args{'action'}))
864 0 0 if ($$self{'zconf'}{'error'})
876 0 0 if ($$self{'zconf'}{'error'})
887 0 0 if ($$self{'zconf'}{'error'})
923 0 0 if ($$self{'error'})
928 0 0 unless (defined $mimetype)
938 0 0 if ($$self{'error'})
947 0 0 if ($mimetypes[$int] eq $mimetype)
984 0 0 if ($$self{'error'})
989 0 0 if ($$self{'zconf'}{'error'})
1023 0 0 if ($$self{'error'})
1028 0 0 unless (defined $mimetype)
1036 0 0 unless (defined $action)
1050 0 0 if ($$self{'zconf'}{'error'})
1062 0 0 if ($$self{'zconf'}{'error'})
1094 0 0 if ($$self{'error'})
1099 0 0 unless (defined $mimetype)
1107 0 0 unless (defined $action)
1117 0 0 if ($$self{'error'})
1123 0 0 unless ($returned)
1135 0 0 if ($$self{'zconf'}{'error'})
1145 0 0 unless (defined $vars{$baseVar . 'type'})
1153 0 0 if ($vars{$baseVar . 'type'} ne 'exec' and $vars{$baseVar . 'type'} ne 'desktop')
1162 0 0 unless (defined $vars{$baseVar . 'do'})
1192 0 0 if ($$self{'error'})
1197 0 0 if ($name =~ m[/])
1202 0 0 if ($name =~ /^ /)
1207 0 0 if ($name =~ / $/)
1235 0 0 if ($$self{'error'})
1248 0 0 if (defined $returned)
1276 0 0 if ($$self{'error'})
1284 0 0 if ($exitcode ne '0')
1307 0 0 if ($$self{'perror'})