File Coverage

blib/lib/AnyEvent/Finger/Transaction.pm
Criterion Covered Total %
statement 14 15 93.3
branch n/a
condition n/a
subroutine 8 9 88.8
pod 5 5 100.0
total 27 29 93.1


line stmt bran cond sub pod time code
1             package AnyEvent::Finger::Transaction;
2              
3 5     5   33 use strict;
  5         10  
  5         145  
4 5     5   42 use warnings;
  5         26  
  5         233  
5 5     5   3653 use overload '""' => sub { shift->as_string };
  5     0   2839  
  5         45  
  0         0  
6              
7             # ABSTRACT: Simple asynchronous finger transaction
8             our $VERSION = '0.11'; # VERSION
9              
10              
11 34     34 1 379 sub res { shift->{res} }
12 25     25 1 198 sub req { shift->{req} }
13              
14              
15 2     2 1 8 sub remote_port { shift->{remote_port} }
16 2     2 1 7 sub local_port { shift->{local_port} }
17              
18              
19 2     2 1 22 sub remote_address { shift->{remote_address} }
20              
21             1;
22              
23             __END__