Condition Coverage

blib/lib/Log/ger/Output/Composite.pm
Criterion Covered Total %
condition 12 18 66.6


or 3 conditions

line l !l&&r !l&&!r condition
117 828 0 0 $ospec->{'conf'} || $empty_hashref
119 815 13 0 $outputter_get_hooks_cache{$cache_key} || do { _debug("calling ${oname}'s get_hooks() ..."); die "Output module $mod does not return any hooks" unless my $res = &{"${mod}::get_hooks";}(%$ospec_conf); $outputter_get_hooks_cache{$cache_key} = $res; $res }
156 36 0 0 $ospec->{'layout'}[1] || $empty_hashref
161 35 1 0 $layouter_get_hooks_cache{$cache_key} || do { _debug("calling layouter ${lname}'s get_hooks() ..."); die "Layout module $lmod does not return any hooks" unless my $res = &{"${lmod}::get_hooks";}(%$lconf); $layouter_get_hooks_cache{$cache_key} = $res; $res }
226 180 72 576 $ospec->{'category_level'} or $plugin_conf{'category_level'}
245 972 1080 72 length $Log::ger::Output::Composite::b->[0] <=> length $Log::ger::Output::Composite::a->[0] or $Log::ger::Output::Composite::a->[0] cmp $Log::ger::Output::Composite::b->[0]