Branch Coverage

blib/lib/UI/Dialog/Backend/XDialog.pm
Criterion Covered Total %
branch 7 296 2.3


line true false branch
42 1 0 @_ ? :
0 1 ref $_[0] eq 'HASH' ? :
47 1 0 $cfg->{'test_mode'} ? :
52 0 1 if ($CFG_PATH) { }
1 0 elsif ($ENV{'PATH'}) { }
53 0 0 if (ref $CFG_PATH eq 'ARRAY') { }
0 0 elsif ($CFG_PATH =~ /:/) { }
0 0 elsif (-d $CFG_PATH) { }
75 0 1 if $cfg->{'XDIALOG_HIGH_DIALOG_COMPAT'}
164 1 0 unless (-x $self->{'_opts'}{'bin'})
174 0 0 if ($raw =~ /^\s*MaxSize\:\s+(\d+?),\s+(\d+?)\s*$/)
202 0 0 unless (not ref $CODE)
212 0 0 unless (not ref $CODE)
224 0 0 if $args->{'XDIALOG_HIGH_DIALOG_COMPAT'}
310 0 0 if (exists $args->{'begin'})
312 0 0 if (ref $begin eq 'ARRAY')
329 0 0 if ($rv == 1 or $rv == 129) { }
0 0 elsif ($rv == 2) { }
0 0 elsif ($rv == 3) { }
0 0 elsif ($rv == 254) { }
0 0 elsif ($rv == 255) { }
0 0 elsif (not $rv or $rv =~ /^null$/i) { }
363 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
364 0 0 if ($_[0] and $_[0] eq 'caller')
379 0 0 $rv ? :
389 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
390 0 0 if ($_[0] and $_[0] eq 'caller')
408 0 0 $rv ? :
417 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
418 0 0 if ($_[0] and $_[0] eq 'caller')
443 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
444 0 0 $rv == 0 ? :
453 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
454 0 0 if ($_[0] and $_[0] eq 'caller')
484 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
485 0 0 $rv == 0 ? :
494 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
495 0 0 if ($_[0] and $_[0] eq 'caller')
519 0 0 $rv == 0 ? :
528 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
529 0 0 if ($_[0] and $_[0] eq 'caller')
554 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
555 0 0 $rv == 0 ? :
564 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
565 0 0 if ($_[0] and $_[0] eq 'caller')
595 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
596 0 0 $rv == 0 ? :
605 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
606 0 0 if ($_[0] and $_[0] eq 'caller')
625 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
626 0 0 $rv == 0 ? :
635 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
636 0 0 if ($_[0] and $_[0] eq 'caller')
655 0 0 $rv == 0 ? :
664 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
665 0 0 if ($_[0] and $_[0] eq 'caller')
682 0 0 if ($rv == 0)
686 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
687 0 0 $rv == 0 ? :
696 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
697 0 0 if ($_[0] and $_[0] eq 'caller')
711 0 0 if ($rv == 0)
715 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
716 0 0 $rv == 0 ? :
725 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
726 0 0 if ($_[0] and $_[0] eq 'caller')
740 0 0 if ($rv and $rv >= 1) { }
748 0 0 $rv == 0 ? :
759 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
760 0 0 if ($_[0] and $_[0] eq 'caller')
768 0 0 if ($num_fields > 1)
772 0 0 if $num_fields > 1
774 0 0 if $num_fields > 2
778 0 0 if $num_fields == 2
779 0 0 if $num_fields == 3
782 0 0 if $num_fields == 1
784 0 0 if $num_fields > 1
786 0 0 if $num_fields > 1
788 0 0 if $num_fields >= 2
790 0 0 if $num_fields >= 2
792 0 0 if $num_fields >= 3
794 0 0 if $num_fields >= 3
803 0 0 if ($num_fields == 1)
805 0 0 $rv == 0 ? :
809 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
810 0 0 $rv == 0 ? :
839 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
840 0 0 if ($_[0] and $_[0] eq 'caller')
851 0 0 $args->{'wait'} ? :
853 0 0 if $args->{'msgbox'} eq 'infobox'
861 0 0 $rv == 0 ? :
881 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
882 0 0 if ($_[0] and $_[0] eq 'caller')
901 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
902 0 0 $rv == 0 ? :
923 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
924 0 0 if ($_[0] and $_[0] eq 'caller')
940 0 0 $rv == 0 ? :
949 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
950 0 0 if ($_[0] and $_[0] eq 'caller')
968 0 0 $rv == 0 ? :
0 0 unless defined wantarray and wantarray
969 0 0 $rv == 0 ? :
978 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
979 0 0 if ($_[0] and $_[0] eq 'caller')
997 0 0 $rv == 0 ? :
1006 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
1007 0 0 if ($_[0] and $_[0] eq 'caller')
1024 0 0 $rv == 0 ? :
1033 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
1034 0 0 if ($_[0] and $_[0] eq 'caller')
1051 0 0 $rv == 0 ? :
1061 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
1062 0 0 if ($_[0] and $_[0] eq 'caller')
1070 0 0 if (defined $self->{'_PROGRESS'}{'FH'})
1081 0 0 if $args->{'maxdots'} or $args->{'msglen'}
1083 0 0 if $args->{'msglen'}
1099 0 0 $rv == 0 ? :
1104 0 0 $caller =~ /^UI\:\:Dialog\:\:Backend\:\:/ ? :
1105 0 0 if ($_[0] and $_[0] eq 'caller')
1113 0 0 if (defined $self->{'_GAUGE'}{'FH'})
1123 0 0 if $args->{'msglen'}
1141 0 0 $rv == 0 ? :
1147 0 0 unless defined $self->{'_PROGRESS'}{'FH'}
1153 0 0 defined $self->{'_PROGRESS'}{'FH'} ? :
1159 0 0 unless defined $self->{'_GAUGE'}{'FH'}
1165 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
1171 0 0 unless defined $self->{'_PROGRESS'}{'FH'}
1177 0 0 defined $self->{'_PROGRESS'}{'FH'} ? :
1183 0 0 unless defined $self->{'_GAUGE'}{'FH'}
1189 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
1195 0 0 unless defined $self->{'_PROGRESS'}{'FH'}
1201 0 0 defined $self->{'_PROGRESS'}{'FH'} ? :
1207 0 0 unless defined $self->{'_GAUGE'}{'FH'}
1213 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
1219 0 0 unless defined $self->{'_GAUGE'}{'FH'}
1224 0 0 defined $self->{'_GAUGE'}{'FH'} ? :
1229 0 0 unless defined $self->{'_PROGRESS'}{'FH'}
1248 0 0 unless defined $self->{'_GAUGE'}{'FH'}