File Coverage

blib/lib/AnyEvent/FTP/Client/Site/Base.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 1 0.0
total 18 19 94.7


line stmt bran cond sub pod time code
1             package AnyEvent::FTP::Client::Site::Base;
2              
3 2     2   936 use strict;
  2         4  
  2         43  
4 2     2   12 use warnings;
  2         3  
  2         43  
5 2     2   25 use 5.010;
  2         5  
6 2     2   8 use Moo;
  2         4  
  2         15  
7              
8             # ABSTRACT: base class for AnyEvent::FTP::Client::Site::* classes
9             our $VERSION = '0.19'; # VERSION
10              
11             sub BUILDARGS
12             {
13 3     3 0 3696 my($class, $client) = @_;
14 3         37 return { client => $client };
15             }
16              
17             has client => ( is => 'ro', required => 1 );
18              
19             1;
20              
21             __END__