Branch Coverage

blib/lib/UI/Dialog/Backend/Zenity.pm
Criterion Covered Total %
branch 5 136 3.6


line true false branch
42 1 0 @_ ? :
0 1 ref $_[0] eq 'HASH' ? :
50 0 1 if ($CFG_PATH) { }
1 0 elsif ($ENV{'PATH'}) { }
51 0 0 if (ref $CFG_PATH eq 'ARRAY') { }
0 0 elsif ($CFG_PATH =~ /:/) { }
0 0 elsif (-d $CFG_PATH) { }
87 1 0 unless (-x $self->{'_opts'}{'bin'})
98 0 0 if exists $cfg->{'test_mode'}
112 0 0 unless (not ref $CODE)
164 0 0 if ($self->is_unit_test_mode)
169 0 0 $^O =~ /win32/i ? :
174 0 0 if -f $tmp_stderr
189 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
190 0 0 if ($_[0] and $_[0] eq 'caller')
204 0 0 if ($rv and $rv >= 1) { }
213 0 0 $rv == 0 ? :
231 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
232 0 0 if ($_[0] and $_[0] eq 'caller')
252 0 0 $rv == 0 ? :
268 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
269 0 0 if ($_[0] and $_[0] eq 'caller')
276 0 0 if ($args->{'error'}) { }
0 0 elsif ($args->{'warning'}) { }
293 0 0 $rv == 0 ? :
317 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
318 0 0 if ($_[0] and $_[0] eq 'caller')
337 0 0 $rv == 0 ? :
353 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
354 0 0 if ($_[0] and $_[0] eq 'caller')
364 0 0 if ($args->{'checklist'}) { }
0 0 elsif ($args->{'radiolist'}) { }
372 0 0 if (ref $args->{'list'} eq 'ARRAY') { }
373 0 0 if ($args->{'checklist'} or $args->{'radiolist'}) { }
382 0 0 if (ref $info eq 'ARRAY') { }
384 0 0 $info->[1] ? :
400 0 0 if ($args->{'checklist'})
403 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
404 0 0 $rv == 0 ? :
408 0 0 $rv == 0 ? :
428 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
429 0 0 if ($_[0] and $_[0] eq 'caller')
436 0 0 -d $args->{'path'} ? :
451 0 0 $rv == 0 ? :
459 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
460 0 0 if ($_[0] and $_[0] eq 'caller')
467 0 0 -d $args->{'path'} ? :
482 0 0 $rv == 0 ? :
490 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
491 0 0 if ($_[0] and $_[0] eq 'caller')
510 0 0 if ($rv == 0)
514 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
515 0 0 $rv == 0 ? :
524 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
525 0 0 if ($_[0] and $_[0] eq 'caller')
533 0 0 if (defined $self->{'_GAUGE'}{'FH'})
559 0 0 $rv == 0 ? :
565 0 0 unless defined $self->{'_GAUGE'}{'FH'}
571 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
577 0 0 unless defined $self->{'_GAUGE'}{'FH'}
583 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
589 0 0 unless $self->{'_GAUGE'}{'FH'}
595 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
603 0 0 unless $self->{'_GAUGE'}
607 0 0 defined $self->{'_GAUGE'} ? :
615 0 0 unless ($self->{'_GAUGE'}{'FH'})