Condition Coverage

blib/lib/Net/Twitter/Core.pm
Criterion Covered Total %
condition 25 41 60.9


and 3 conditions

line !l l&&!r l&&r condition
192 246 0 0 $content_type and $content_type eq 'application/json'
234 45 0 596 $self->has_username and $self->has_password
269 3 663 0 $obj and $self->decode_html_entities
272 661 0 5 my $since = delete $$args{-'since'} and defined $obj
280 2 11 652 ref $obj and &reftype($obj) eq 'HASH'
13 652 0 ref $obj and &reftype($obj) eq 'HASH' and exists $obj->{'error'} || exists $obj->{'errors'}
284 4 1 655 $res->is_success and defined $obj
302 4 0 1 &blessed($since) and $since->isa('DateTime')
345 0 0 3 ref $e and &reftype($e) eq 'HASH'
346 0 3 0 exists $e->{'created_at'} && exists $e->{'text'} && exists $e->{'id'}

or 2 conditions

line l !l condition
344 3 0 $arrayref->[0] || (return)

or 3 conditions

line l !l&&r !l&&!r condition
118 2 0 0 'Net::Netrc'->lookup($host) || croak("No .netrc entry for $host")
280 4 0 648 exists $obj->{'error'} || exists $obj->{'errors'}
309 2 0 1 eval {