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 2 $target eq $root and $INFO{$root}{'_opts'}
4 0 2 $target eq $root and $INFO{$root}{'_opts'} and $INFO{$root}{'_opts'}{'contextual'}
325 20 0 10 $INFO{$root}{'_opts'} && $INFO{$root}{'_opts'}{'contextual'}
339 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'}
403 39 22 41 $INFO{$root}{'_pre_route'} and $INFO{$root}{'_pre_route'}{$part}
411 39 40 20 $INFO{$root}{'_post_route'} and $INFO{$root}{'_post_route'}{$part}
468 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 3 $INFO{$root} ||= {}
254 0 20 $INFO{$root}{$name} ||= {}
308 1 2 $INFO{$root}{"_$mod"} ||= {}