Branch Coverage

blib/lib/Net/HTTP/Spore.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
34 3 2 if (ref $_[-1] eq 'HASH')
53 1 21 unless $spec_file
64 1 1 if (ref $_[-1] eq 'HASH')
90 2 35 unless $opts->{'base_url'}
92 0 35 if ($spec->{'formats'})
96 1 34 if ($spec->{'authentication'})
100 32 3 unless ($object)
117 0 25 if ($spec_file =~ m[^http(s)?://]) { }
122 0 0 unless ($res->is_success)
129 1 24 unless (-f $spec_file)