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 37 14 if $sig =~ /^\d+$/
80 0 17 if (exists $attrs->{'safe'})
82 0 0 if ($] < 5.008002 and defined $attrs->{'safe'} and $attrs->{'safe'})
93 13 4 unless defined $attrs
95 0 17 unless ($use_sigaction)
101 0 0 unless defined wantarray
110 0 17 if $] < 5.008
111 17 0 unless defined $attrs->{'flags'}
112 13 4 unless defined $attrs->{'mask'}
125 0 17 if defined $attrs->{'safe'}
133 0 28 if $] < 5.008
134 0 28 unless defined $sig
135 0 28 unless UNIVERSAL::isa($action, 'POSIX::SigAction')
137 11 17 if (defined wantarray) { }
154 0 7 unless ($timeout)
167 7 0 if $@
169 3 4 if $@ and !ref($@) || $@ != {}
179 11 0 if ($use_sigaction) { }
186 0 0 defined $_[0]{'ACT'} ? :