Condition Coverage

blib/lib/McBain.pm
Criterion Covered Total %
condition 27 36 75.0


and 3 conditions

line !l l&&!r l&&r condition
273 3 1 1 $target eq $root and $INFO{$root}{'_opts'}
4 0 1 $target eq $root and $INFO{$root}{'_opts'} and $INFO{$root}{'_opts'}{'contextual'}
309 20 0 9 $INFO{$root}{'_opts'} && $INFO{$root}{'_opts'}{'contextual'}
323 2 0 9 ref $_ and ref $_ eq 'HASH'
2 0 9 ref $_ and ref $_ eq 'HASH' and exists $$_{'code'}
0 0 9 ref $_ and ref $_ eq 'HASH' and exists $$_{'code'} and exists $$_{'error'}
387 38 22 41 $INFO{$root}{'_pre_route'} and $INFO{$root}{'_pre_route'}{$part}
395 38 40 20 $INFO{$root}{'_post_route'} and $INFO{$root}{'_post_route'}{$part}
452 3 0 1 $req =~ m[/Context.pm$] and $opts
3 0 1 $req =~ m[/Context.pm$] and $opts and $$opts{'contextual'}

or 2 conditions

line l !l condition
194 3 2 $INFO{$root} ||= {}
254 0 19 $INFO{$root}{$name} ||= {}
292 1 2 $INFO{$root}{"_$mod"} ||= {}