Branch Coverage

blib/lib/MP3/Tag/Utils.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
36 0 0 if (defined $_[1])
101 0 0 if (defined $_[1])
107 0 0 unless ($self->errorblank)
113 0 0 unless (defined $args{'file'})
122 0 0 unless (defined $args{'album'} or defined $args{'artist'} or defined $args{'comment'} or defined $args{'genre'} or defined $args{'title'} or defined $args{'track'} or defined $args{'year'})
138 0 0 unless ($args{'file'} =~ /[Mm][Pp]3$/)
146 0 0 if (defined $args{'track'} and not $args{'track'} =~ /^[0123456789]*$/)
157 0 0 if (defined $args{'year'} and not $args{'year'} =~ /^[0123456789]*$/)
237 0 0 if (defined $_[1])
243 0 0 unless ($self->errorblank)
248 0 0 unless (defined $args{'padto'})
253 0 0 unless (defined $args{'files'})
259 0 0 if (ref $args{'files'} ne 'ARRAY')
265 0 0 unless (defined $args{'files'}[0])
273 0 0 if (defined $args{'template'})
287 0 0 if (not -r $args{'files'}[$int] && $args{'files'}[$int] =~ /\.[Mm][Pp]3$/) { }
402 0 0 if (defined $_[1])
408 0 0 unless ($self->errorblank)
413 0 0 unless (defined $args{'padto'})
418 0 0 unless (defined $args{'files'})
424 0 0 if (ref $args{'files'} ne 'ARRAY')
430 0 0 unless (defined $args{'files'}[0])
443 0 0 if (defined $args{'template'})
456 0 0 if (not -r $args{'files'}[$int] && $args{'files'}[$int] =~ /\.[Mm][Pp]3$/) { }
540 0 0 if ($_[0]{'perror'})