Condition Coverage

blib/lib/Twitter/API/Trait/ApiMethods.pm
Criterion Covered Total %
condition 15 34 44.1


and 3 conditions

line !l l&&!r l&&r condition
783 0 0 0 @_ == 2 and XXX
1151 0 1 7 @_ and not XXX
1154 7 0 0 @_ && XXX

or 2 conditions

line l !l condition
1238 1 2 shift() // {}
1278 2 1 $args //= {}

or 3 conditions

line l !l&&r !l&&!r condition
594 0 0 0 exists $args->{'lat'} or exists $args->{'long'}
1289 1 2 0 $args->{'-token'} // $self->access_token
3 0 0 ($args->{'-token'} // $self->access_token) // ($args->{'-token'} = delete $args->{'access_token'})
2 0 0 (($args->{'-token'} // $self->access_token) // ($args->{'-token'} = delete $args->{'access_token'})) // croak('requires an oauth token')
1294 1 2 0 $args->{'-token_secret'} // $self->access_token_secret
3 0 0 ($args->{'-token_secret'} // $self->access_token_secret) // ($args->{'-token_secret'} = delete $args->{'access_token_secret'})
2 0 0 (($args->{'-token_secret'} // $self->access_token_secret) // ($args->{'-token_secret'} = delete $args->{'access_token_secret'})) // croak('requires an oauth token secret')