Consumer/ResponseException.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 76.4% 13 / 17 CC 1 SCAR 2.2
CC
1
Cov
83%
as_string
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Consumer/PermissiveResolver.pm ↑ Summary
1 package REST::Consumer::ResponseException;
2 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 9 ▶use base qw(REST::Consumer::Exception);
Subroutine BEGIN: called CC=1 SCAR=0.0
6
7 0 ▶sub as_string {
Subroutine as_string: not called CC=1 SCAR=6.9
Pod undocumented
8 0 my $self = shift;
9 return sprintf("Response not in expected format: %s %s -- %s at %s\n",
10 $self->{request}->method,
11 $self->{request}->uri->as_string,
12 $self->{response}->status_line,
13 $self->{_immediate_caller},
14 0 );
15 }
16  
17 9 1;
« Consumer/PermissiveResolver.pm ↑ Summary