Branch Coverage

blib/lib/Class/Component/Component/Plaggerize/Log.pm
Criterion Covered Total %
branch 4 26 15.3


line true false branch
20 0 1 unless $$config{'global'}
21 1 0 unless $$config{'global'}{'log'}
22 1 0 unless $$config{'global'}{'log'}{'level'}
24 0 1 if ref $$config{'global'}{'log'}{'levels'} eq 'HASH'
34 0 0 unless ($levels{$level} || 0) >= ($levels{$$conf{'level'}} || 0)
38 0 0 unless ($caller)
41 0 0 unless $c =~ /Plugin/
47 0 0 defined $$conf{'fh'} ? :
48 0 0 defined $$conf{'ansicolor'} ? :
51 0 0 if ($$conf{'encoding'})
52 0 0 unless utf8::is_utf8($msg)
57 0 0 if $ansicolor and $TERM_ANSICOLOR_ENABLED
59 0 0 if $ansicolor and $TERM_ANSICOLOR_ENABLED