Condition Coverage

blib/lib/WebService/GoogleAPI/Client/Discovery.pm
Criterion Covered Total %
condition 14 20 70.0


and 3 conditions

line !l l&&!r l&&r condition
38 7 1 24 $will_expire > 0 and not $force
59 0 0 0 $ret->code == 403 and not $authorized
238 36 0 92 defined $api_spec->{'methods'} and ref $api_spec->{'methods'} eq 'HASH'

or 2 conditions

line l !l condition
35 26 6 $self->chi->get_expires_at($key) // 0
107 1098 1794 $$a{$WebService::GoogleAPI::Client::Discovery::b->{'name'}}{$key} //= []
161 26 2 $self->available_APIs->{$api}{'version'} // []
174 23 0 $stable[-1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
199 15 11 0 $params->{'version'} //= $self->latest_stable_version($params->{'api'})