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