Branch Coverage

blib/lib/Text/BibTeX/File.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
136 8 0 if @_
148 5 3 if (ref $_[0] eq 'HASH') { }
153 4 1 if exists $opts->{'binmode'} and $opts->{'binmode'} =~ /utf-?8/i
154 0 5 if exists $opts->{'normalization'}
156 0 0 if (exists $opts->{'reset_macros'} and $opts->{'reset_macros'})
161 1 4 if (exists $opts->{'mode'})
163 0 1 if exists $opts->{'perms'}
178 10 0 if ($self->{'handle'})
222 0 1 unless @options % 2 == 0
246 0 88 if @_