Branch Coverage

blib/lib/Bricklayer/Templater/Parser.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
36 2 5 unless my $tagID = shift()
37 1 4 unless my $startbracket = shift()
38 0 4 unless my $endbracket = shift()
61 0 8 if (substr($textblock, 0, length $TagStartText) ne $TagStartText) { }
8 0 elsif (substr($textblock, 0, length $TagStartText) eq $TagStartText) { }
66 0 0 if ($endpos == -1) { }
100 8 0 if (index($tag, "/$endbracket") == -1) { }
104 3 5 if (index($tagname, ' ') != -1)
127 8 0 if ($idx_open_tag == -1 or $idx_open_tag > $idx_close_tag) { }
131 0 8 if ($ignore > 0) { }
147 0 0 if (index($nested_tag, "/$endbracket") == -1)
184 0 0 if (index($tagname, ' ') != -1)
227 5 3 unless $atag =~ / /
244 0 3 unless $key