SigGuard/recv.pm

filter: Statementstmt 100% 5 / 5 Branchbran 75.0% 3 / 4 Conditioncond 100% 3 / 3 MC/DCmcdc 100% 2 / 2 Subroutinesub 100% 1 / 1 Podpod 0.0% 0 / 1 totaltotal 87.5% 14 / 16 CC 4 SCAR 13.9
CC
4
Cov
92%
recv
4.0
CRAP 4.0
« SigGuard/sysread.pm ↑ Summary SigGuard.pm »
1 package IO::SigGuard;
2  
3 1235 ▶sub recv {
Subroutine recv: called CC=4 SCAR=13.9
Pod undocumented
4 1235 ▶ die "Wrong args count! recv(@_)" if @_ != 4;
Branch: 1 branch
BranchTrueFalseTotal
if @_ != 4 0 1235 1235
5  
6 1235 $result = CORE::recv( $_[0], $_[1], $_[2], $_[3] );
7  
8 1235 ▶ goto &recv if !defined $result && $! == Errno::EINTR();
Branch: 1 branch
BranchTrueFalseTotal
if not defined $result and $! == 4 548 687 1235
Condition100%3/3
not defined $result and $! == 4
!ll&&!rl&&r
6861548
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
ABresult
0X0
100
111
9  
10 687 return $result;
11 }
12  
13 2 1;
« SigGuard/sysread.pm ↑ Summary SigGuard.pm »