File Coverage

blib/lib/IO/Framed/Write/NonBlocking.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 14 15 93.3


line stmt bran cond sub pod time code
1             package IO::Framed::Write::NonBlocking;
2              
3 3     3   1201 use strict;
  3         9  
  3         73  
4 3     3   18 use warnings;
  3         5  
  3         67  
5              
6 3     3   12 use parent qw( IO::Framed::Write );
  3         5  
  3         12  
7              
8             sub new {
9 1     1 0 9 $_[0]->SUPER::new(@_[ 1 .. $#_ ])->enable_write_queue();
10             }
11              
12             1;