Branch Coverage

blib/lib/File/BOM/Utils.pm
Criterion Covered Total %
branch 7 28 25.0


line true false branch
82 0 0 if defined $opt{'bom_name'}
83 0 0 if defined $opt{'input_file'}
88 0 0 unless $name2bom{$name}
105 0 0 if defined $opt{'bom_name'}
150 5 15 if (substr($data, 0, $length) eq $key)
162 5 1 $name ? :
5 1 $name ? :
178 0 6 if defined $opt{'input_file'}
194 0 0 if defined $opt{'input_file'}
196 0 0 if length $self->output_file == 0
230 0 0 if defined $opt{'input_file'}
232 0 0 if length $self->input_file == 0
233 0 0 unless $action{$action}
259 0 0 if ($$result{'name'})