Condition Coverage

blib/lib/Signals/XSIG.pm
Criterion Covered Total %
condition 33 68 48.5


and 3 conditions

line !l l&&!r l&&r condition
115 0 0 136 $signal ne "__WARN__" and $signal ne "__DIE__"
148 10 0 0 defined $sig and $sig =~ /\d/
10 0 0 defined $sig and $sig =~ /\d/ and not $sig =~ /\D/
174 0 18 41 defined $package and $package =~ /^Signals::XSIG/
202 1357 0 7 $XDEBUG and $key ne "__DIE__"
206 1350 0 7 $XDEBUG and $key ne "__DIE__"
211 7 0 0 $XDEBUG and $key ne "__DIE__"
220 866 0 4 $XDEBUG and $key ne "__DIE__"
237 29 0 0 $XDEBUG and $key ne "__DIE__"
256 0 0 2 $XDEBUG and $^O ne "MSWin32"
268 0 0 2 $XDEBUG and $^O ne "MSWin32"
278 488 0 0 $XDEBUG and $key ne "__DIE__"
300 1 0 0 $XDEBUG and not &__inGD()
457 0 0 0 $ZSIG{$key} && $ZSIG{$key}{'handlers'}
458 0 0 0 $ZSIG{$key} &&= "Signals::XSIG"->_new($key)

or 2 conditions

line l !l condition
177 18 0 $package || 'main'

or 3 conditions

line l !l&&r !l&&!r condition
65 0 0 14 $ENV{'XSIG_56'} or $Signals::XSIG::Config{'PERL_VERSION'} <= 6
76 121 845 0 $SIGTABLE{$signo} ||= $signame
138 272 0 2263 $DISABLE_WARNINGS ||= $_DISABLE_WARNINGS
164 1407 4 560 not defined $handler or $handler eq ""
1411 26 534 not defined $handler or $handler eq "" or $handler eq "IGNORE"
30 10 524 not defined $handler or $handler eq "" or $handler eq "IGNORE" or $handler eq "DEFAULT"
494 0 0 1233 $ENV{'XSIG_56'} or $Signals::XSIG::Config{'PERL_VERSION'} <= 6