Branch Coverage

blib/lib/IO/Stream/EV.pm
Criterion Covered Total %
branch 38 40 95.0


line true false branch
47 31 19 if (not defined $host) { }
70 222 12 if ($self->{'_state'} == 3)
78 15 4 if ($host =~ /\A\d{1,3}[.]\d{1,3}[.]\d{1,3}[.]\d{1,3}\z/msx) { }
86 0 3 unless $plugin
87 2 1 if (@a) { }
102 1 2 $self->{'_state'} == 2 ? :
110 413 3 if (defined $n) { }
2 1 elsif ($! != 11) { }
111 388 25 if ($n) { }
24 1 elsif (not $m->{'is_eof'}) { }
131 16 1276 if ($self->{'_state'} == 2)
139 50 1242 defined $m->{'out_pos'} ? :
140 1288 4 if ($has_out)
142 1 1287 if (not defined $n) { }
143 1 0 if ($! != 11)
150 50 1237 if (defined $m->{'out_pos'}) { }
158 1054 233 if ($self->{'_t'})
161 1056 231 $has_out ? :
165 6 1285 if ($self->{'_w'} and not $has_out) { }
8 2325 elsif (not $self->{'_w'} and $has_out) { }