Condition Coverage

blib/lib/Dancer/Logger/ColorConsole.pm
Criterion Covered Total %
condition 0 24 0.0


and 3 conditions

line !l l&&!r l&&r condition
38 0 0 0 exists $$config{'regexps'} and ref $$config{'regexps'} eq 'ARRAY'

or 2 conditions

line l !l condition
23 0 0 $$self{'level_colors'}{'core'} ||= 'reset'
24 0 0 $$self{'level_colors'}{'debug'} ||= 'bright_blue'
25 0 0 $$self{'level_colors'}{'warning'} || 'bright_yellow'
26 0 0 $$self{'level_colors'}{'error'} ||= 'bright_red'
27 0 0 $$self{'level_colors'}{'info'} ||= 'bright_green'
64 0 0 scalar $r->header($block) || '-'

or 3 conditions

line l !l&&r !l&&!r condition
25 0 0 0 $$self{'level_colors'}{'warn'} ||= $$self{'level_colors'}{'warning'} || 'bright_yellow'
29 0 0 0 not exists $$config{'default_regexps'} or $$config{'default_regexps'} != 0
74 0 0 0 $r->env->{'HTTP_X_REAL_IP'} || $r->env->{'REMOTE_ADDR'}