Condition Coverage

blib/lib/MP3/Tag/ID3v1.pm
Criterion Covered Total %
condition 22 63 34.9


and 3 conditions

line !l l&&!r l&&r condition
126 0 6 11 defined $self->{'genreID'} and $self->{'genreID'} < @MP3::Tag::ID3v1::winamp_genres
167 0 0 1 defined $self->{'genreID'} and $self->{'genreID'} < @MP3::Tag::ID3v1::winamp_genres
195 2 13 0 $track =~ /^\d{0,3}$/ and $track eq '' || $track < 256
205 3 0 0 $elt eq 'comment' and not $hash->{'track'}
3 0 0 $elt eq 'comment' and not $hash->{'track'} and length $data <= 30
220 0 0 0 $r eq $w and $w eq 'iso-8859-1'
223 0 0 0 $w ne $r and not +($self->get_config('encoded_v1_fits') || [0])->[0]
253 33 0 0 $e = $self->get_config('encode_encoding_v1') and $e->[0]
271 0 0 33 exists $self->{'title'} and exists $self->{'changed'}
351 6 0 75 defined $self and not defined $genre
6 0 75 defined $self and not defined $genre and not $self =~ /MP3::Tag/
452 0 0 0 $self->{'track'} and $self->{'track'} != 32
457 49 0 0 $e = $self->get_config('decode_encoding_v1') and $e->[0]
471 0 28 33 defined $id and $id < @MP3::Tag::ID3v1::winamp_genres

or 2 conditions

line l !l condition
216 0 0 $self->get_config('encode_encoding_v1') || [0]
217 0 0 $self->get_config('decode_encoding_v1') || [0]
218 0 0 lc $_ || 'iso-8859-1'
221 0 0 $self->get_config('encoded_v1_fits') || [0]
223 0 0 $self->get_config('encoded_v1_fits') || [0]
410 85 0 $fileobj->open or return

or 3 conditions

line l !l&&r !l&&!r condition
195 13 0 0 $track eq '' || $track < 256
213 4 0 10 not defined $id or $id eq ''
4 0 10 not defined $id or $id eq '' or $id == 255