Branch Coverage

blib/lib/File/BOM/Utils.pm
Criterion Covered Total %
branch 7 30 23.3


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}
104 0 0 if defined $opt{'bom_name'}
149 5 15 if (substr($data, 0, $length) eq $key)
161 5 1 $name ? :
5 1 $name ? :
177 0 6 if defined $opt{'input_file'}
193 0 0 if defined $opt{'input_file'}
195 0 0 if length $self->output_file == 0
229 0 0 if defined $opt{'input_file'}
231 0 0 if length $self->input_file == 0
232 0 0 unless $action{$action}
257 0 0 $key eq 'message' ? :
262 0 0 if ($result->{'name'})