Condition Coverage

blib/lib/Image/MetaData/JPEG/access/app13.pl
Criterion Covered Total %
condition 37 42 88.1


and 2 conditions

line l !l condition
173 8019 1959 $_[0] eq $_ and return $$what2dir{$_}

and 3 conditions

line !l l&&!r l&&r condition
194 0 2 431 $id and grep {/^$id$/;} @$Image::MetaData::JPEG::Segment::APP13_PHOTOSHOP_IDS
379 65 11 2 not $what =~ /IPTC/ and $action eq 'UPDATE'
399 274 35 0 @$newarrayref and $action eq 'UPDATE' || !($what =~ /IPTC/)
477 0 65 198 defined $tag and not $tag =~ /^\d*$/
505 8 207 246 $constraints and $$constraints[1] eq 'N'
523 0 0 256 ref $arrayref and ref $arrayref eq 'ARRAY'
529 217 29 1 not $what =~ /IPTC/ and scalar @$arrayref > 2
534 73 169 4 $$constraints[1] eq 'N' and @$arrayref != 1
542 249 28 14 not $what =~ /IPTC/ and ($_ || 1) ne ($$arrayref[0] || 1)

or 2 conditions

line l !l condition
542 33 9 $_ || 1
41 1 $$arrayref[0] || 1

or 3 conditions

line l !l&&r !l&&!r condition
399 2 8 25 $action eq 'UPDATE' || !($what =~ /IPTC/)
546 2 1 272 length $_ < $$constraints[2] or length $_ > $$constraints[3]
550 158 106 8 /$regex/ or $regex =~ /binary/