Branch Coverage

blib/lib/XML/Atom/Client.pm
Criterion Covered Total %
branch 1 40 2.5


line true false branch
21 0 1 unless $client->init(@_)
36 0 0 if @_
42 0 0 if @_
48 0 0 if @_
54 0 0 if @_
63 0 0 unless $res->code == 200
71 0 0 unless $uri
80 0 0 unless $res->code == 201
82 0 0 unless $res->header('Location')
95 0 0 unless $res->code == 200
105 0 0 unless $res->code == 200
113 0 0 unless $uri
117 0 0 unless $res->code == 200
119 0 0 unless my $feed = 'XML::Atom::Feed'->new('Stream', \$res->content)
144 0 0 if ($client->use_soap) { }
176 0 0 if ($client->username)
188 0 0 if ($client->use_soap and my $xml = $res->content)
198 0 0 if (my $fault = first($body, 'http://schemas.xmlsoap.org/soap/envelope/', 'Fault')) { }
215 0 0 if ($] >= 5.008)
240 0 0 unless my $client = $ClientOf{$ua}