Branch Coverage

blib/lib/Brickyard.pm
Criterion Covered Total %
branch 46 58 79.3


line true false branch
36 0 0 unless @plugins
40 0 0 unless &$code()
58 13 34 if /^\s*(?:\#|\;|$)/
62 10 24 if (/^\s*\[\s*(.+?)\s*\]\s*$/)
68 24 0 if (/^\s*([^=]+?)\s*=\s*(.*?)\s*$/)
74 6 18 if (exists $$section{$key}) { }
75 4 2 unless ref $$section{$key} eq 'ARRAY'
96 11 17 if (/^(0|[1-9]\d*)$/) { }
97 4 7 unless defined $$box_ref
98 1 10 unless ref $$box_ref eq 'ARRAY'
102 10 7 unless defined $$box_ref
103 0 17 unless ref $$box_ref eq 'HASH'
108 0 31 if defined $$box_ref
118 3 28 s/^\*// ? :
119 7 24 if s/^@(?=\w)/${base}::PluginBundle::/
120 5 19 if s/^-(?=\w)/${base}::Role::/
121 1 18 if s/^=(?=\w)//
125 3 8 if $_ ne $before
126 0 8 if $@
133 0 4 unless open my $fh, '<', $file
135 0 4 unless close $fh
141 3 1 unless ref $merged_config eq 'ARRAY'
144 1 1 if ($local_name eq '_') { }
159 1 3 if (ref $config eq 'SCALAR') { }
181 4 17 if ($local_name eq '_') { }
185 2 4 if ($key eq 'expand') { }
186 0 2 ref $value eq 'ARRAY' ? :
195 0 17 if $@
196 4 13 if ($package->DOES('Brickyard::Role::PluginBundle')) { }