blib/lib/Net/Twitter/Error.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 18 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
43 | 0 | 33 | 25 | $seen ||= $in_nt and not $in_nt |
line | l | !l | condition |
---|---|---|---|
59 | 9 | 0 | $location || '' |
91 | 0 | 0 | ref $e eq 'HASH' && (exists $e->{'errors'} && ref $e->{'errors'} eq 'ARRAY' && exists $e->{'errors'}[0] && ref $e->{'errors'}[0] eq 'HASH' && exists $e->{'errors'}[0]{'message'} && $e->{'errors'}[0]{'message'} || exists $e->{'error'} && ref $e->{'error'} eq 'HASH' && exists $e->{'error'}{'message'} && $e->{'error'}{'message'} || exists $e->{'error'} && $e->{'error'} || exists $e->{'message'} && $e->{'message'}) || '' |
102 | 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 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
42 | 24 | 9 | 25 | $caller->[0] =~ /^Net::Twitter::/ || $caller->[3] eq $this_sub |
43 | 49 | 9 | 0 | $seen ||= $in_nt |
57 | 7 | 2 | 0 | $self->twitter_error_text || $self->http_response->status_line |