Branch Coverage

blib/lib/HTML/LBI.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
82 1 2 unless ($params{'filename'})
89 1 2 if (exists $params{'path'}) { }
90 1 0 if (ref $params{'path'} ne 'ARRAY')
102 0 3 if ($ENV{'HTML_TEMPLATE_ROOT'})
107 0 3 if ($ENV{'DOCUMENT_ROOT'})
113 3 0 if (substr($$self{'filename'}, 0, 1) ne '/') { }
0 0 elsif (substr($$self{'filename'}, 0, 8) eq '/Library') { }
118 1 2 unless ($HTML::LBI::filepath)
127 0 0 unless ($HTML::LBI::filepath)
134 0 3 unless (open LBI_FILE, $HTML::LBI::filepath)
177 113 1 unless /$HTML::LBI::fname$/