Branch Coverage

blib/lib/MojoMojo/Formatter/TOC.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
17 0 303 $eval_res ? :
63 0 132 unless $class->module_loaded
73 0 12 if $toc_h_min > 9
74 0 12 if $toc_h_max > 9 or $toc_h_max < $toc_h_min
125 49 0 unless ($text =~ /^\s*$/)
138 7 42 if $text =~ /\A\W/
140 0 49 if $text eq ''