| 1 | package IO::SigGuard; | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | 686 | ▶ | sub sysread { | ||||||||||||||||||||||||||
|
Subroutine
sysread: called CC=5 SCAR=16.8
Pod
undocumented
| |||||||||||||||||||||||||||||
| 4 | 686 | ▶ | $result = ( (@_ == 3) ? CORE::sysread( $_[0], $_[1], $_[2] ) : (@_ == 4) ? CORE::sysread( $_[0], $_[1], $_[2], $_[3] ) : die "Wrong args count! sysread(@_)" ); | ||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||
| 6 | 686 | ▶ | goto &sysread if !defined $result && $! == Errno::EINTR(); | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%3/3
not defined $result and $! == 4
MC/DC100%2/2
not defined $result and $! == 4
not defined $result
$! == 4
Truth table100%3/3
not(A) and B
A= not defined $resultB= $! == 4
| |||||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||
| 8 | 681 | return $result; | |||||||||||||||||||||||||||
| 9 | } | ||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||
| 11 | 3 | 1; | |||||||||||||||||||||||||||