| 1 | package IO::SigGuard; | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | 194162 | ▶ | sub send { | ||||||||||||||||||||||||||
|
Subroutine
send: called CC=5 SCAR=19.2
Pod
undocumented
| |||||||||||||||||||||||||||||
| 4 | 194162 | ▶ | $result = ( (@_ == 3) ? CORE::send( $_[0], $_[1], $_[2] ) : (@_ == 4) ? CORE::send( $_[0], $_[1], $_[2], $_[3] ) : die "Wrong args count! send(@_)" ); | ||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||
| 6 | #EINTR means the file pointer is unchanged. | ||||||||||||||||||||||||||||
| 7 | 194162 | ▶ | goto &send if !defined $result && $! == Errno::EINTR(); | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
not defined $result and $! == 4
MC/DC0%0/2
not defined $result and $! == 4
not defined $result
$! == 4
Truth table66%2/3
not(A) and B
A= not defined $resultB= $! == 4
| |||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | 194162 | return $result; | |||||||||||||||||||||||||||
| 10 | } | ||||||||||||||||||||||||||||
| 11 | |||||||||||||||||||||||||||||
| 12 | 3 | 1; | |||||||||||||||||||||||||||