Branch Coverage

blib/lib/Coro/ProcessPool/Util.pm
Criterion Covered Total %
branch 14 34 41.1


line true false branch
35 0 22 unless defined $data
44 15 7 if (ref $info and ref $info eq 'CODE') { }
55 0 17 unless my $line = shift()
62 1 16 if $package->{'code'}
70 0 23 if $^O ne 'VMS' and not $perl =~ /$ext$/i
95 0 5 if (/aix/i)
101 0 5 if (/(?:darwin|.*bsd)/i)
107 0 5 if (/hp-?ux/i)
113 0 5 if (/irix/i)
119 5 0 if (/linux/i)
121 5 0 if (open PROC, '< /proc/cpuinfo')
125 5 0 @output ? :
129 0 0 if (/solaris|sunos|osf/i)
135 0 0 if (/mswin32|cygwin/i)
137 0 0 exists $ENV{'NUMBER_OF_PROCESSORS'} ? :
141 0 0 if (/vms/i)
143 0 0 @output ? :