Branch Coverage

blib/lib/App/Framework/Base.pm
Criterion Covered Total %
branch 87 102 85.2


line true false branch
102 6 151 if $class_debug
113 0 2 if ($@) { }
127 0 157 unless ($this->requires_ok)
134 6 151 if $class_debug
192 7 79 if $class_debug
193 7 79 if $class_debug
195 8 78 $_to_expand ? :
196 78 8 unless ($_state_href)
209 75 176 if (ref $$hash_ref{$key} eq 'ARRAY') { }
176 0 elsif (not ref $$hash_ref{$key}) { }
220 39 212 if ($ref and exists $data_ref{"$ref"}) { }
222 4 35 if $class_debug >= 2
228 18 194 if $class_debug >= 2
234 235 16 if $ref
236 22 229 if $class_debug >= 2
239 260 1160 unless $val
241 82 1078 if $class_debug >= 2
243 35 1125 if (index($val, '$') >= 0)
245 16 19 if $class_debug >= 2
254 7 79 if $class_debug
256 7 79 if $class_debug
261 20 23 if $class_debug
264 0 43 unless exists $$hash_ref{$key}
267 15 28 if ${$$_state_href{$key};} eq 'expanded'
270 7 21 if (ref $$hash_ref{$key} eq 'ARRAY') { }
21 0 elsif (not ref $$hash_ref{$key}) { }
285 13 15 if $class_debug
292 56 41 if $class_debug
315 46 22 if $class_debug
318 16 52 if ($escaped) { }
322 16 0 if $class_debug
323 16 0 if $class_debug
328 30 22 if (defined $$hash_ref{$var})
330 13 17 if $class_debug
331 8 22 if (${$$_state_href{$var};} eq 'to_expand')
333 4 4 if $class_debug
337 30 0 if (${$$_state_href{$var};} eq 'expanded')
339 13 17 if $class_debug
341 0 30 if ref $$hash_ref{$var} eq 'ARRAY'
344 30 22 if $class_debug
347 22 30 unless ($replace)
352 22 24 if (defined $$href{$var})
355 0 22 if ref $$href{$var} eq 'ARRAY'
356 17 5 if $class_debug
361 30 22 if $class_debug
363 0 52 unless ($replace)
366 0 0 if $class_debug
367 0 0 if $class_debug
371 46 22 if $class_debug
376 13 15 if $class_debug >= 2
381 13 15 if $class_debug >= 2