lib/Google/RestApi.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 24 | 79.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
103 | 2 | 250 | 0 | $response and Log::Log4perl::appenders()->{"UnitTestCapture"} |
122 | 2 | 6 | 244 | $response and $response->is_success |
234 | 0 | 437 | 1110 | $package and $package =~ /^Cache::Memory/ || $subroutine =~ /api$/ || $subroutine =~ /^Cache|_cache/ |
250 | 0 | 252 | 2070 | $package and $package =~ /^(Google::RestApi|Cache|Try)/ |
264 | 14 | 1 | 1 | defined $max_attempts and $max_attempts == 0 |
line | l | !l | condition |
---|---|---|---|
147 | 8 | 0 | $@ || 'Unknown error' |
212 | 215 | 297 | $$self{"stats"}{$_} //= 0 |
221 | 6 | 0 | $$self{'stats'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
234 | 977 | 318 | 252 | $package =~ /^Cache::Memory/ || $subroutine =~ /api$/ || $subroutine =~ /^Cache|_cache/ |