Branch Coverage

inc/Mock/HTTP/Tiny.pm
Criterion Covered Total %
branch 14 20 70.0


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 36 0 unless defined $arg{'fn'}
32 12 24 if (defined $arg{'agent'}) { }
34 0 12 if $arg{'agent'} =~ / \s \z /msx
43 0 24 unless ref $invocant
63 7 8 unless "HASH" eq ref $resp
69 15 0 unless defined $resp->{'reason'}
71 7 8 unless defined $resp->{'url'}
73 15 0 unless defined $resp->{'content'}