blib/lib/Arriba/Connection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 15 | 86.6 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 6 | 66.6 |
pod | 0 | 3 | 0.0 |
total | 17 | 24 | 70.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Arriba::Connection; | ||||||
2 | |||||||
3 | 3 | 3 | 29 | use warnings; | |||
3 | 8 | ||||||
3 | 136 | ||||||
4 | 3 | 3 | 19 | use strict; | |||
3 | 6 | ||||||
3 | 106 | ||||||
5 | |||||||
6 | 3 | 3 | 1832 | use Arriba::Request; | |||
3 | 10 | ||||||
3 | 408 | ||||||
7 | |||||||
8 | sub new { | ||||||
9 | 3 | 3 | 0 | 7 | my $class = shift; | ||
10 | 3 | 9 | my $client = shift; | ||||
11 | 3 | 19 | my $self = bless { client => $client, @_ }, $class; | ||||
12 | |||||||
13 | 3 | 14 | return $self; | ||||
14 | } | ||||||
15 | |||||||
16 | 0 | 0 | 0 | sub read_request { } | |||
17 | |||||||
18 | 0 | 0 | 0 | sub write_response { } | |||
19 | |||||||
20 | 1; | ||||||
21 |