Branch Coverage

blib/lib/ZConf/GUI.pm
Criterion Covered Total %
branch 0 170 0.0


line true false branch
53 0 0 if (defined $_[1])
78 0 0 if (not defined $args{'set'}) { }
84 0 0 if (not defined $args{'zconf'}) { }
87 0 0 if (defined $$self{'zconf'}->error)
103 0 0 if ($$self{'zconf'}->error)
114 0 0 if ($$self{'init'})
117 0 0 if ($$self{'zconf'}->error)
129 0 0 unless ($$self{'init'})
131 0 0 if ($self->error) { }
144 0 0 if ($$self{'zconf'}->error)
157 0 0 unless ($$self{'init'})
159 0 0 if ($self->error) { }
172 0 0 if ($$self{'init'}) { }
195 0 0 unless ($self->errorblank)
201 0 0 if ($$self{'zconf'}->error)
211 0 0 unless (defined $vars{'appendOthers'})
234 0 0 unless ($self->errorblank)
238 0 0 unless (defined $module)
251 0 0 if ($$self{'zconf'}->error)
261 0 0 unless (defined $vars{'modules/' . $module2})
263 0 0 if ($$self{'zconf'}->error)
273 0 0 unless (defined $vars{'default'})
300 0 0 unless ($self->errorblank)
305 0 0 if ($$self{'zconf'}->error)
332 0 0 unless ($self->errorblank)
336 0 0 unless (defined $module)
349 0 0 if ($$self{'zconf'}->error)
359 0 0 unless (defined $vars{'modules/' . $module2})
379 0 0 unless ($self->errorblank)
383 0 0 unless (defined $module)
391 0 0 if ($$self{'zconf'}->error)
400 0 0 unless (defined $vars{'modules/' . $module})
434 0 0 unless ($self->errorblank)
439 0 0 if ($$self{'zconf'}->error)
449 0 0 unless ($returned)
451 0 0 if ($$self{'zconf'}{'error'})
470 0 0 if ($$self{'zconf'}->error)
481 0 0 if ($$self{'zconf'}->error)
505 0 0 unless ($self->errorblank)
509 0 0 unless (defined $module)
521 0 0 unless (defined $modules)
553 0 0 unless ($self->errorblank)
558 0 0 if ($$self{'zconf'}->error)
594 0 0 unless ($self->errorblank)
599 0 0 if ($$self{'zconf'}->error)
634 0 0 unless ($self->errorblank)
639 0 0 if ($$self{'zconf'}->error)
666 0 0 unless ($self->errorblank)
670 0 0 unless (defined $module)
681 0 0 if ($$self{'zconf'}->error)
691 0 0 if ($deleted[0] ne 'modules/' . $module)
719 0 0 unless ($self->errorblank)
724 0 0 unless (defined $boolean)
732 0 0 unless ($boolean =~ /^[01]$/)
741 0 0 if ($$self{'zconf'}->error)
752 0 0 if ($$self{'zconf'}->error)
779 0 0 if (defined $_[2])
783 0 0 unless ($self->errorblank)
787 0 0 unless (defined $module)
794 0 0 unless (defined @{$prefs;}[0])
803 0 0 if (@{$prefs;}[$int] =~ /:/)
818 0 0 if ($$self{'zconf'}->error)
828 0 0 if ($$self{'zconf'}->error)
857 0 0 unless ($self->errorblank)
861 0 0 unless (defined $module)
868 0 0 unless (defined $useX)
878 0 0 if ($$self{'zconf'}{'error'})
909 0 0 unless ($self->errorblank)
913 0 0 unless (defined $ENV{'TERM'})
940 0 0 unless ($self->errorblank)
945 0 0 unless (defined $ENV{'DISPLAY'})
954 0 0 if ($exitcode ne '0')
977 0 0 unless ($self->errorblank)
981 0 0 unless (defined $module)
992 0 0 if ($useX)
1017 0 0 unless ($self->errorblank)
1021 0 0 unless (defined $module)
1049 0 0 if ($preferred[$int] eq $available[$aint])
1050 0 0 if ($Xavailable) { }
1054 0 0 if ($preferred[$int] =~ /^Term/)
1057 0 0 if ($preferred[$int] =~ /^Curses/)
1075 0 0 if ($self->error)
1081 0 0 unless ($ao)
1092 0 0 if ($usable[$int2] eq $available[$int])
1100 0 0 unless ($matched)