Branch Coverage

inc/Mock/HTTP/Tiny.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
24 13 2 _is_success($status) ? :
25 1 0 unless eval { do { require HTTP::Status; *_status_message = \&HTTP::Status::status_message; 1 } }
31 13 0 unless defined $arg{'fn'}
32 0 13 if (defined $arg{'agent'}) { }
34 0 0 if $arg{'agent'} =~ / \s \z /msx
43 0 1 unless ref $invocant
58 0 11 unless eval { do { require IO::Socket::SSL; "IO::Socket::SSL"->VERSION("1.42"); 1 } }
65 0 11 unless wantarray
78 7 8 unless "HASH" eq ref $resp
84 15 0 unless defined $resp->{'reason'}
86 7 8 unless defined $resp->{'url'}
88 15 0 unless defined $resp->{'content'}