blib/lib/WebService/Xero/Agent/PrivateApplication.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
91 | 1 | 1 | unless $self->{'CONSUMER_KEY'} =~ /.{20,}/m |
92 | 0 | 1 | unless $self->{'CONSUMER_SECRET'} =~ /.{20,}/m |
95 | 1 | 0 | if (not defined $self->{'pko'} and $self->{'PRIVATE_KEY'} =~ /BEGIN RSA PRIVATE KEY/gms) |
107 | 0 | 1 | unless ref $self->{'pko'} eq 'Crypt::OpenSSL::RSA' |