blib/lib/Bootylicious/Plugin/BootyConfig.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 26 | 73.0 |
line | true | false | branch |
---|---|---|---|
32 | 3 | 1 | unless exists $conf->{'default'} |
42 | 308 | 8 | if (@_) |
43 | 308 | 0 | if @_ == 1 |
59 | 0 | 4 | if defined $config->{'base'} |
66 | 3 | 1 | if defined $config->{'templates_directory'} |
70 | 3 | 1 | if defined $config->{'public_directory'} |
91 | 1 | 3 | if (my $theme = $config->{'theme'}) |
109 | 4 | 0 | unless $perl5lib |
111 | 0 | 0 | ref $perl5lib eq 'ARRAY' ? : |
118 | 3 | 1 | unless $plugins_arrayref |
119 | 0 | 1 | unless ref $plugins_arrayref eq 'ARRAY' |
126 | 1 | 1 | if (ref $plugin eq 'HASH') { } |
127 | 0 | 1 | unless $plugins[-1] |