File Coverage

blib/lib/SRS/EPP/Command/Hello.pm
Criterion Covered Total %
statement 6 12 50.0
branch n/a
condition n/a
subroutine 2 6 33.3
pod n/a
total 8 18 44.4


line stmt bran cond sub pod time code
1              
2             package SRS::EPP::Command::Hello;
3             {
4             $SRS::EPP::Command::Hello::VERSION = '0.22';
5             }
6              
7 1     1   3008 use Moose;
  1         4  
  1         11  
8              
9 1     1   5804 use MooseX::Params::Validate;
  1         2  
  1         9  
10              
11             extends 'SRS::EPP::Command';
12              
13             sub match_class {
14 0     0     "XML::EPP::Hello";
15             }
16              
17 0     0     sub authenticated {0}
18 0     0     sub simple {1}
19              
20             sub process {
21 0     0     my $self = shift;
22            
23 0           my ( $session ) = pos_validated_list(
24             \@_,
25             { isa => 'SRS::EPP::Session' },
26             );
27            
28 0           $self->make_response("Greeting");
29             }
30              
31             1;