Branch Coverage

blib/lib/IO/Framed/Write.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
22 0 3 if ($_[0]{'_write_queue'} and @{$_[0]{'_write_queue'};})
47 1 65538 unless ($_[0]->can('WRITE')->($_[0]{'_out_fh'}, $_[1]))
51 0 65538 if $_[2]
74 4095 3 unless $self->_write_now_then_callback(@$qi)
117 3 0 if ($wrote == length $_[1])
119 2 1 if $_[2]