| blib/lib/Bootylicious/Plugin/BootyConfig.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 26 | 73.0 |
| line | true | false | branch |
|---|---|---|---|
| 33 | 3 | 1 | unless exists $$conf{'default'} |
| 43 | 308 | 8 | if (@_) |
| 44 | 308 | 0 | if @_ == 1 |
| 60 | 0 | 4 | if defined $$config{'base'} |
| 66 | 3 | 1 | if defined $$config{'templates_directory'} |
| 70 | 3 | 1 | if defined $$config{'public_directory'} |
| 92 | 1 | 3 | if (my $theme = $$config{'theme'}) |
| 110 | 4 | 0 | unless $perl5lib |
| 112 | 0 | 0 | ref $perl5lib eq 'ARRAY' ? : |
| 119 | 3 | 1 | unless $plugins_arrayref |
| 120 | 0 | 1 | unless ref $plugins_arrayref eq 'ARRAY' |
| 127 | 1 | 1 | if (ref $plugin eq 'HASH') { } |
| 128 | 0 | 1 | unless $plugins[-1] |