Branch Coverage

blib/lib/Pod/BBCode.pm
Criterion Covered Total %
branch 9 38 23.6


line true false branch
36 1 8 if /pod/ or /cut/
37 0 8 if (/begin/)
41 0 8 if (/end/)
45 8 0 if (/head(\d)/)
48 0 8 $headColor ? :
0 8 $headColor ? :
57 0 0 if (/over/)
63 0 0 if (/back/)
68 0 0 if (/item/)
69 0 0 if (not defined $$self{'lists'}[-1]) { }
71 0 0 $paragraph =~ /^\d+\.?\s*/ ? :
75 0 0 if ($$self{'lists'}[-1] eq '1') { }
91 0 0 $itemColor ? :
0 0 $itemColor ? :
106 0 0 if $$self{'ignore_section'}
113 0 0 $textColor ? :
0 0 $textColor ? :
137 0 1 if $$self{'ignore_section'}
150 1 0 if length $paragraph > 0