Branch Coverage

blib/lib/Net/FriendFeed.pm
Criterion Covered Total %
branch 52 54 96.3


line true false branch
94 5 3 unless defined $fields
122 1 41 unless ($self->ua)
123 0 1 unless $self->ua('LWP::UserAgent'->new)
156 3 41 if ($needauth and not $self->_has_auth)
164 36 5 if $needs_parsing
167 20 21 if ($method eq 'GET') { }
169 4 16 unless $format eq 'json'
170 7 13 if @args
176 1 20 unless $format eq 'json'
181 31 10 if ($self->_has_auth)
185 41 0 if ($Last_Http_Response = $self->ua->request($req)) { }
186 1 40 unless ($Last_Http_Response->is_success)
201 35 5 if ($needs_parsing) { }
449 2 1 if ref $nicknames[0] eq 'ARRAY'
480 1 1 if $self->_has_auth
498 1 1 if (@entry_ids == 1) { }
609 8 5 if defined $link
610 2 11 if defined $comment
611 2 11 if defined $room
612 1 12 if defined $via
616 3 10 if ($imgs and ref $imgs eq 'ARRAY')
618 2 3 if (ref $$imgs[$_]) { }
620 1 1 if ($$imgs[$_][0] =~ m[^(?:http|https|ftp)://]) { }
630 2 1 if ($$imgs[$_] =~ m[^(?:http|https|ftp)://]) { }
641 1 12 $multipart ? :
782 1 1 defined $via ? :
970 1 1 if ref $nicknames[0] eq 'ARRAY'