blib/lib/POE/Filter/Zlib.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 19 | 19 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package POE::Filter::Zlib; | ||||||
2 | $POE::Filter::Zlib::VERSION = '2.04'; | ||||||
3 | #ABSTRACT: A POE filter wrapped around Compress::Zlib | ||||||
4 | |||||||
5 | 2 | 2 | 76506 | use strict; | |||
2 | 2 | ||||||
2 | 47 | ||||||
6 | 2 | 2 | 5 | use warnings; | |||
2 | 3 | ||||||
2 | 41 | ||||||
7 | |||||||
8 | 2 | 2 | 697 | use POE::Filter::Zlib::Stream; | |||
2 | 3 | ||||||
2 | 47 | ||||||
9 | 2 | 2 | 10 | use Compress::Raw::Zlib qw(Z_FINISH); | |||
2 | 2 | ||||||
2 | 117 | ||||||
10 | |||||||
11 | sub new { | ||||||
12 | 3 | 3 | 1 | 348 | return POE::Filter::Zlib::Stream->new(flushtype => Z_FINISH); | ||
13 | } | ||||||
14 | |||||||
15 | qq[Zee Lib]; | ||||||
16 | |||||||
17 | __END__ |