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   1373 use strict;
  2         5  
  2         60  
4 2     2   16 use warnings;
  2         5  
  2         47  
5 2     2   37 use 5.010;
  2         6  
6 2     2   12 use Moo;
  2         4  
  2         10  
7              
8             # ABSTRACT: base class for AnyEvent::FTP::Client::Site::* classes
9             our $VERSION = '0.17'; # VERSION
10              
11             sub BUILDARGS
12             {
13 3     3 0 5145 my($class, $client) = @_;
14 3         53 return { client => $client };
15             }
16              
17             has client => ( is => 'ro', required => 1 );
18              
19             1;
20              
21             __END__