Branch Coverage

blib/lib/Sys/SigAction.pm
Criterion Covered Total %
branch 22 40 55.0


line true false branch
52 0 2 unless $sig =~ /^\d+$/
57 102 16 if $sig =~ /^\d+$/
80 0 39 if (exists $attrs->{'safe'})
82 0 0 if ($] < 5.008002 and defined $attrs->{'safe'} and $attrs->{'safe'})
93 35 4 unless defined $attrs
95 0 39 unless ($use_sigaction)
101 0 0 unless defined wantarray
110 0 39 if $] < 5.008
111 39 0 unless defined $attrs->{'flags'}
112 35 4 unless defined $attrs->{'mask'}
125 0 39 if defined $attrs->{'safe'}
133 0 72 if $] < 5.008
134 0 72 unless defined $sig
135 0 72 unless UNIVERSAL::isa($action, 'POSIX::SigAction')
137 33 39 if (defined wantarray) { }
154 0 7 unless ($timeout)
167 7 0 if $@
169 3 4 if $@ and !ref($@) || $@ != {}
179 33 0 if ($use_sigaction) { }
186 0 0 defined $_[0]{'ACT'} ? :