| lib/Concierge/Setup.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 52 | 7.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 89 | 0 | 0 | 12 | open $fh, ">", $concierge_conf_file and print $fh $json |
| 0 | 0 | 12 | open $fh, ">", $concierge_conf_file and print $fh $json and close $fh | |
| 119 | 0 | 0 | 0 | $config->{'storage'} and $config->{'storage'}{'base_dir'} |
| 198 | 0 | 0 | 0 | open $fh, ">", $concierge_conf_file and print $fh $json |
| 0 | 0 | 0 | open $fh, ">", $concierge_conf_file and print $fh $json and close $fh | |
| 224 | 0 | 0 | 0 | $config->{'storage'} and $config->{'storage'}{'base_dir'} |
| 227 | 0 | 0 | 0 | $config->{'auth'} and $config->{'auth'}{'file'} |
| 230 | 0 | 0 | 0 | $config->{'sessions'} and $config->{'sessions'}{'backend'} |
| 233 | 0 | 0 | 0 | $config->{'users'} and $config->{'users'}{'backend'} |
| line | l | !l | condition |
|---|---|---|---|
| 147 | 0 | 0 | $config->{'sessions'}{'backend'} || 'database' |
| 161 | 0 | 0 | $config->{'users'}{'backend'} || 'database' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 34 | 0 | 0 | 12 | not $storage_dir or $storage_dir eq "." |
| 0 | 0 | 12 | not $storage_dir or $storage_dir eq "." or $storage_dir eq "./" | |
| 123 | 0 | 0 | 0 | not $base_dir or $base_dir eq "." |
| 0 | 0 | 0 | not $base_dir or $base_dir eq "." or $base_dir eq "./" | |
| 129 | 0 | 0 | 0 | $config->{'storage'}{'sessions_dir'} || $base_dir |
| 130 | 0 | 0 | 0 | $config->{'storage'}{'users_dir'} || $base_dir |
| 131 | 0 | 0 | 0 | $config->{'auth'}{'file'} || 'File::Spec'->catfile($base_dir, 'auth.pwd') |