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 22 unless $spec_file
64 1 1 if (ref $_[-1] eq 'HASH')
90 2 36 unless $opts->{'base_url'}
92 0 36 if ($spec->{'formats'})
96 1 35 if ($spec->{'authentication'})
100 33 3 unless ($object)
117 0 26 if ($spec_file =~ m[^http(s)?://]) { }
122 0 0 unless ($res->is_success)
129 1 25 unless (-f $spec_file)