lib/WebService/Async/Onfido/Report.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 77.7% 14 / 18 CC 1 SCAR 2.2
CC
1
Cov
85%
as_string
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/WebService/Async/Onfido/Applicant.pm ↑ Summary lib/WebService/Async/Onfido/Address.pm »
1 package WebService::Async::Onfido::Report;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 ▶use parent qw(WebService::Async::Onfido::Base::Report);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 4 our $VERSION = '0.002'; # VERSION
9  
10 =head1 NAME
11  
12 WebService::Async::Onfido::Report - represents data for Onfido
13  
14 =head1 DESCRIPTION
15  
16 =cut
17  
18 sub as_string {
19 0 ▶ my ($self) = @_;
Subroutine as_string: not called CC=1 SCAR=6.9
Pod undocumented
20  
21 0 return sprintf 'Report %s %s, result was %s (created %s as ID %s)', $self->name, $self->status, $self->result, $self->created_at, $self->id;
22 }
23  
24 4 1;
25  
26 __END__
27  
28 =head1 AUTHOR
29  
30 deriv.com C<< DERIV@cpan.org >>
31  
32 =head1 LICENSE
33  
34 Copyright deriv.com 2019. Licensed under the same terms as Perl itself.
35  
« lib/WebService/Async/Onfido/Applicant.pm ↑ Summary lib/WebService/Async/Onfido/Address.pm »