blib/lib/WebService/Xero/Agent/PrivateApplication.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 5 | 40.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
95 | 0 | 0 | 1 | not defined $self->{'pko'} and $self->{'PRIVATE_KEY'} =~ /BEGIN RSA PRIVATE KEY/gms |
line | l | !l | condition |
---|---|---|---|
97 | 1 | 0 | 'Crypt::OpenSSL::RSA'->new_private_key($self->{'PRIVATE_KEY'}) || (return $self->_error('PRIVATE_KEY not valid')) |