Branch Coverage

blib/lib/IO/React.pm
Criterion Covered Total %
branch 10 40 25.0


line true false branch
31 1 3 if defined $wait and not $wait =~ /^\d+$/
39 1 1 if defined $timeout and not "$timeout" =~ /^CODE/
41 1 0 $timeout ? :
47 1 1 if defined $eof and not "$eof" =~ /^CODE/
49 1 0 $eof ? :
55 1 1 $display ? :
72 0 0 exists $p{'WAIT'} ? :
73 0 0 exists $p{'TIMEOUT'} ? :
74 0 0 exists $p{'EOF'} ? :
78 0 0 if defined $wait and not $wait =~ /^\d+$/
90 0 0 if $nfound < 0
91 0 0 if ($nfound == 0)
94 0 0 if defined $timeleft and not $timeleft =~ /^\d+$/
96 0 0 if defined $timeleft
101 0 0 if $nread < 0
102 0 0 if ($nread == 0)
108 0 0 if $$self{'Display'}
114 0 0 if ($text =~ /$_/m)
122 0 0 unless defined $timeleft
126 0 0 if $timeleft < 0