Branch Coverage

blib/lib/Compress/LeadingBlankSpaces.pm
Criterion Covered Total %
branch 14 16 87.5


line true false branch
35 9 19 if defined $val
42 0 20 unless $buf
45 6 14 if ($$self{'FORMATTED'} >= 0) { }
49 5 1 if $buf =~ /$end_tag/i
60 13 14 if ($buf =~ /$beg_tag/i)
61 9 1 if ($buf =~ /$beg_tag>/i or $buf =~ /$beg_tag\s/i or $buf =~ /$beg_tag$/i)
69 12 15 if $$self{'FORMATTED'} >= 0
73 0 20 unless length $buf > 0