Condition Coverage

blib/lib/Net/Twitter/Error.pm
Criterion Covered Total %
condition 11 18 61.1


and 3 conditions

line !l l&&!r l&&r condition
21 0 33 25 $seen ||= $in_nt and not $in_nt

or 2 conditions

line l !l condition
37 9 0 $location || ''
68 5 0 try(sub { $$e{'errors'}[0]{'message'} if exists $$e{'errors'} and exists $$e{'errors'}[0] and exists $$e{'errors'}[0]{'message'}; } ) || try(sub { $$e{'error'}{'message'} if exists $$e{'error'} and exists $$e{'error'}{'message'}; } ) || try(sub { $$e{'message'} if exists $$e{'message'}; } ) || try(sub { $$e{'error'} if exists $$e{'error'}; } ) || ''
75 0 0 $self->has_twitter_error && exists $self->twitter_error->{'errors'} && exists $self->twitter_error->{'errors'}[0] && exists $self->twitter_error->{'errors'}[0]{'code'} && $self->twitter_error->{'errors'}[0]{'code'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
20 24 9 25 $$caller[0] =~ /^Net::Twitter::/ || $$caller[3] eq $this_sub
21 49 9 0 $seen ||= $in_nt
33 7 2 0 $self->has_twitter_error && $self->twitter_error_text || $self->http_response->status_line