Branch Coverage

blib/lib/UI/Dialog/Backend/Zenity.pm
Criterion Covered Total %
branch 5 142 3.5


line true false branch
39 1 0 @_ ? :
0 1 ref $_[0] eq 'HASH' ? :
47 0 1 if ($CFG_PATH) { }
1 0 elsif ($ENV{'PATH'}) { }
48 0 0 if (ref $CFG_PATH eq 'ARRAY') { }
0 0 elsif ($CFG_PATH =~ /:/) { }
0 0 elsif (-d $CFG_PATH) { }
84 1 0 unless (-x $self->{'_opts'}{'bin'})
95 0 0 if exists $cfg->{'test_mode'}
109 0 0 unless (not ref $CODE)
160 0 0 if ($self->is_unit_test_mode)
175 0 0 if ($self->is_unit_test_mode)
177 0 0 wantarray ? :
181 0 0 if ($self->_is_bad_version) { }
190 0 0 unless defined wantarray
191 0 0 wantarray ? :
198 0 0 if ($self->is_unit_test_mode)
200 0 0 wantarray ? :
204 0 0 if ($self->_is_bad_version) { }
213 0 0 unless defined wantarray
214 0 0 wantarray ? :
226 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
227 0 0 if ($_[0] and $_[0] eq 'caller')
245 0 0 if ($rv and $rv >= 1) { }
274 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
275 0 0 if ($_[0] and $_[0] eq 'caller')
297 0 0 if ($rv and $rv >= 1) { }
323 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
324 0 0 if ($_[0] and $_[0] eq 'caller')
331 0 0 if ($args->{'error'}) { }
0 0 elsif ($args->{'warning'}) { }
351 0 0 if ($rv and $rv >= 1) { }
382 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
383 0 0 if ($_[0] and $_[0] eq 'caller')
405 0 0 if ($rv and $rv >= 1) { }
0 0 elsif ($args->{'editable'}) { }
433 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
434 0 0 if ($_[0] and $_[0] eq 'caller')
442 0 0 if ($args->{'checklist'}) { }
0 0 elsif ($args->{'radiolist'}) { }
450 0 0 if (ref $args->{'list'} eq 'ARRAY') { }
451 0 0 if ($args->{'checklist'} or $args->{'radiolist'}) { }
460 0 0 if (ref $info eq 'ARRAY') { }
462 0 0 $info->[1] ? :
482 0 0 if ($rv and $rv >= 1) { }
487 0 0 if ($args->{'checklist'}) { }
519 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
520 0 0 if ($_[0] and $_[0] eq 'caller')
527 0 0 -d $args->{'path'} ? :
545 0 0 if ($rv and $rv >= 1) { }
562 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
563 0 0 if ($_[0] and $_[0] eq 'caller')
570 0 0 -d $args->{'path'} ? :
588 0 0 if ($rv and $rv >= 1) { }
605 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
606 0 0 if ($_[0] and $_[0] eq 'caller')
629 0 0 if ($rv and $rv >= 1) { }
635 0 0 if $date =~ m[^\d+/\d+/\d+$]
649 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
650 0 0 if ($_[0] and $_[0] eq 'caller')
658 0 0 if (defined $self->{'_GAUGE'}{'FH'})
685 0 0 if ($rv and $rv >= 1) { }
697 0 0 unless defined $self->{'_GAUGE'}{'FH'}
703 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
709 0 0 unless defined $self->{'_GAUGE'}{'FH'}
715 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
721 0 0 unless $self->{'_GAUGE'}{'FH'}
727 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
735 0 0 unless $self->{'_GAUGE'}
739 0 0 defined $self->{'_GAUGE'} ? :
747 0 0 unless ($self->{'_GAUGE'}{'FH'})