| blib/lib/Plugins/Style1.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 27 | 61 | 44.2 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 51 | 0 | 1 | 1 | $caller && $caller->can('config_prefix') && $caller->config_prefix | 
| 1 | 0 | 1 | $$self{'context'}{'requestor'} && $prefix_generator++ | |
| 80 | 0 | 0 | 2 | $combined_prefix and /^($combined_prefix)/ | 
| 0 | 0 | 0 | $prefix and $$self{'prefixes_done'} | |
| 0 | 0 | 0 | $prefix and $$self{'prefixes_done'} and $$self{'prefixes_done'}{$configfile}{''} | |
| 108 | 2 | 3 | 3 | not defined $pre and $prefix eq '' | 
| 3 | 1 | 1 | $pre and $prefix | |
| 4 | 0 | 1 | $pre and $prefix and $pre eq $prefix | |
| 137 | 0 | 8 | 0 | $redo and $_ | 
| 139 | 0 | 0 | 0 | $_ && -d $_ | 
| 149 | 0 | 0 | 0 | /^$prefix/ and not $$self{'prefixes_done'}{$configfile}{$prefix} | 
| line | l | !l | condition | 
|---|---|---|---|
| 22 | 2 | 0 | $$self{'context'} || {} | 
| 23 | 1 | 1 | $$context{'prefixes_done'} || {} | 
| 26 | 0 | 2 | $$context{'plugin_directories'} || ['.'] | 
| 38 | 1 | 0 | $args{'configfile'} || $args{'context'}{'configfile'} || $$self{'configfile'} || die('no config file') | 
| 40 | 2 | 0 | ref $caller || scalar caller() | 
| 64 | 2 | 0 | $args{'parse_config_line'} || $$self{'parse_config_line'} || $caller && $caller->can('parse_config_line') || sub { die "unknown line in ${configfile}: '${_}' (currently: shortname='${prefix}', combined_prefix='${combined_prefix}'"; } | 
| 102 | 0 | 0 | $config_prefix ||= '' | 
| 106 | 0 | 0 | $self->pkg_invoke($pkg, 'config_prefix') || '' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 38 | 1 | 1 | 0 | $configfile ||= $args{'configfile'} || $args{'context'}{'configfile'} || $$self{'configfile'} || die('no config file') | 
| 66 | 0 | 2 | 0 | $args{'plugin_directories'} || $$self{'plugin_directories'} | 
| 97 | 0 | 0 | 8 | $pkg =~ m[/] or $pkg =~ /^\w+$/ | 
| 108 | 3 | 0 | 5 | not defined $pre and $prefix eq '' or $pre and $prefix and $pre eq $prefix |