Condition Coverage

blib/lib/MPEG/ID3v2Tag.pm
Criterion Covered Total %
condition 20 66 30.3


and 3 conditions

line !l l&&!r l&&r condition
63 0 0 0 $_->frameid eq $frameid and $i++ != $frameocc
95 3 0 0 $self->flag_unsynchronization and $body =~ /\xff$/
111 3 0 0 exists $$self{'ORIGINAL_SIZE'} and $$self{'PADDING_SIZE'}
3 0 0 exists $$self{'ORIGINAL_SIZE'} and $$self{'PADDING_SIZE'} and not $$self{'MANUAL_PADDING'}
212 16 0 6 length $frame == 4 and @args
376 0 3 15 $data ne '' and not $data =~ /^\0+$/
471 11 0 0 $self->flag_compression and not exists $$self{'UNSUPPORTED_BODY'}
504 0 0 0 $$self{'FROM_PARSER'} and exists $$self{'UNSUPPORTED_BODY'}
621 0 9 6 defined $tag and $$tag{'MAJORVER'} == 4
1025 2 0 4 @_ and $_[0] =~ /^-/

or 3 conditions

line l !l&&r !l&&!r condition
461 0 0 11 $self->flag_encryption or $self->flag_grouping_identity
635 0 0 15 $self->flag_encryption or $self->flag_grouping_identity
662 0 0 0 not defined $body or length $body != $uc_size
823 0 0 27 $frameid eq 'Text' or $frameid eq 'Url'
1027 2 0 2 $arg =~ /^-picture_type/ or $arg =~ /-type/
0 2 0 $arg =~ /^-fn/ or $arg =~ /^-file/
0 0 0 $arg =~ /^-data/ or $arg =~ /^-data/
1031 0 0 0 shift @_ || croak('bad argument to -mimetype')
1041 0 0 0 shift @_ || croak('bad argument to -fh')
1044 2 0 0 shift @_ || croak("bad argument to $arg")
1047 0 0 0 shift @_ || croak("bad argument to $arg")
1072 2 0 0 'IO::File'->new("<$fname") || croak("${fname}: $!\n")