Branch Coverage

blib/lib/MojoMojo/Formatter/DocBook/Colorize.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
19 0 0 $eval_res ? :
37 0 0 $#_ == 0 ? :
50 0 0 if $debug
58 0 0 if $debug
70 0 0 if $debug
79 0 0 if $att eq 'lang' and $el->{'Name'} =~ /$hl_node/
84 0 0 if ($att eq '{http://www.w3.org/XML/1998/namespace}lang')
89 0 0 if ($name eq 'div' and $att eq 'lang')
95 0 0 if $debug
97 0 0 if ($step eq 'marklang' and $att =~ /$hl_attrib/i and $el->{'Name'} =~ /$hl_node/) { }
0 0 elsif ($step eq 'colorize' and $el->{'Name'} eq 'pre' and $val =~ /$hl_node/i) { }
115 0 0 if $debug
118 0 0 if ($el->{'Name'} =~ /$hl_node/ and $marklang eq 1) { }
0 0 elsif ($el->{'Name'} =~ /pre/ and $colorize eq 1) { }
125 0 0 if $debug
134 0 0 if $debug
140 0 0 unless ($lang)
150 0 0 if $debug
152 0 0 if ($marklang) { }
0 0 elsif ($colorize) { }
157 0 0 if defined $el->{'Data'}
173 0 0 if ($debug)
177 0 0 unless $lang
178 0 0 unless 'MojoMojo::Formatter::DocBook::Colorize'->module_loaded
218 0 0 unless ($goodlang[0])