Branch Coverage

blib/lib/CouchDB/Client/Doc.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
16 0 0 @_ == 1 ? :
18 0 0 unless $opt{'db'}
35 0 0 if (@_) { }
44 0 0 @_ == 2 ? :
48 0 0 unless $$self{'id'}
55 0 0 if $$self{'rev'}
59 0 0 if ($$self{'id'}) { }
65 0 0 unless $$res{'success'}
67 0 0 unless $$self{'id'}
74 0 0 if $$self{'id'}
75 0 0 if $$self{'rev'}
76 0 0 if $$self{'attachments'} and keys %{$$self{'attachments'};}
84 0 0 if $$res{'status'} == 404
85 0 0 unless $$res{'success'}
90 0 0 if ($k =~ /^_(.+)/)
97 0 0 if exists $private{'attachments'}
106 0 0 if $$res{'status'} == 404
107 0 0 unless $$res{'success'}
112 0 0 if ($k =~ /^_(.+)/)
129 0 0 if $$res{'status'} == 404
130 0 0 unless $$res{'success'}
137 0 0 unless $$self{'id'} and $$self{'rev'}
140 0 0 unless $$res{'success'}
148 0 0 unless $$self{'id'} and $$self{'rev'}
150 0 0 if $$res{'status'} == 404
151 0 0 unless $$res{'success'}
163 0 0 unless exists $$self{'attachments'}{$attName}
167 0 0 if $res->is_success
188 0 0 unless exists $$self{'attachments'}{$attName}