Branch Coverage

blib/lib/Plugins/Style1.pm
Criterion Covered Total %
branch 35 62 56.4


line true false branch
27 2 0 if $pkg eq 'Plugins::Style1'
47 0 2 if $rdebug
59 2 0 ref $caller ? :
74 0 2 unless open CONFIG, "<$configfile"
76 4 10 if /^$/
77 0 10 if /^#/
78 0 10 if /^\s/
80 8 2 if (/^(.+_)?plugin\s+(\S+)(?:\s+as\s+(\w+)$)?/) { }
0 2 elsif (/^plugin_directory\s+(\S.*)/) { }
2 0 elsif ($combined_prefix and /^($combined_prefix)/) { }
0 0 elsif ($prefix and $$self{'prefixes_done'} and $$self{'prefixes_done'}{$configfile}{''}) { }
89 8 12 unless s/^\s+//
90 0 12 if /^#/
92 24 0 defined $3 ? :
0 24 defined $2 ? :
0 24 defined $1 ? :
94 0 24 if /^#/
97 0 8 if ($pkg =~ m[/] or $pkg =~ /^\w+$/) { }
8 0 elsif ($config_prefix) { }
108 4 4 if (not defined $pre and $prefix eq '' or $pre and $prefix and $pre eq $prefix) { }
109 4 0 ref $self eq 'Plugins::Style1' ? :
122 0 4 if $rdebug
125 0 4 if $rdebug
127 8 0 if ($config_prefix)
128 0 8 if $known_prefixes{$config_prefix}
131 6 2 if ($combined_prefix) { }
137 0 8 if $redo and $_
141 1 1 if $active_prefixes{$1}
149 0 0 if (/^$prefix/ and not $$self{'prefixes_done'}{$configfile}{$prefix})
179 2 3 if defined $i
188 0 0 unless ($pkg->can('config_prefix'))