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 | 1 | 1 | 577 | use strict; | |||
1 | 3 | ||||||
1 | 36 | ||||||
4 | 1 | 1 | 7 | use warnings; | |||
1 | 3 | ||||||
1 | 39 | ||||||
5 | |||||||
6 | 1 | 1 | 8 | use parent qw( IO::Framed::Write ); | |||
1 | 2 | ||||||
1 | 6 | ||||||
7 | |||||||
8 | sub new { | ||||||
9 | 1 | 1 | 0 | 9 | $_[0]->SUPER::new(@_[ 1 .. $#_ ])->enable_write_queue(); | ||
10 | } | ||||||
11 | |||||||
12 | 1; |