| lib/Google/RestApi/Utils.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 38 | 42 | 90.4 |
| line | true | false | branch |
|---|---|---|---|
| 49 | 931 | 0 | if $$p{"validated"} |
| 62 | 145 | 154 | unless $config_file |
| 65 | 0 | 154 | if $@ |
| 82 | 143 | 145 | unless my $config_file = $$config{$file_key} |
| 83 | 2 | 143 | if -f $config_file |
| 86 | 2 | 141 | if ($file_key ne "config_file" and $$config{"config_file"}) |
| 89 | 1 | 1 | if -f $path |
| 92 | 142 | 1 | unless ($full_file_path) |
| 94 | 139 | 3 | if ($dir) |
| 96 | 139 | 0 | if -f $path |
| 100 | 3 | 140 | unless $full_file_path |
| 113 | 92 | 769 | if &blessed($range) |
| 114 | 43 | 818 | unless $range |
| 115 | 564 | 254 | unless ref $range |
| 116 | 150 | 104 | if ref $range eq "HASH" |
| 117 | 104 | 0 | if ref $range eq "ARRAY" |
| 138 | 13 | 12 | unless defined $bool |
| 139 | 2 | 10 | if $bool =~ qr/^false$/i |
| 140 | 7 | 3 | $bool ? : |
| 146 | 42 | 180 | $dims =~ /^col/i ? : |
| 151 | 2 | 1 | if $dims |