Condition Coverage

lib/File/Information/Inode.pm
Criterion Covered Total %
condition 10 258 3.8


and 3 conditions

line !l l&&!r l&&r condition
302 0 0 0 defined $self->{'_peek_buffer'} and length $self->{'_peek_buffer'} >= $required
364 0 0 0 scalar @stat and S_ISREG($stat[2])
393 0 0 0 defined $info and defined $info->{'pool-name-suffix'}
401 0 0 0 $c_stat[0] eq $stat[0] and $c_stat[1] eq $stat[1]
433 0 0 0 $c_stat[0] eq $stat[0] and $c_stat[1] eq $stat[1]
452 0 0 2 $opts{'lifecycle'} eq "current" and not $self->{'_loaded_stat'}
464 18 8 0 $value == 0 and $key eq 'st_ino' || $key eq 'st_rdev' || $key eq 'st_blksize'
471 0 0 2 $values[1] > 0 and $values[0] ne ""
490 0 0 0 defined $digest_sha_1_160 and defined $digest_sha_3_512
517 0 0 0 defined $value and length $value
526 0 0 0 defined $values[$i] and length $values[$i]
582 0 0 0 scalar @stat and S_ISDIR($stat[2])
603 0 0 0 defined $value and not ref $value
0 0 0 defined $value and not ref $value and length $value
612 0 0 0 defined $value and not ref $value
0 0 0 defined $value and not ref $value and length $value
623 0 0 0 defined $value and not ref $value
0 0 0 defined $value and not ref $value and length $value
641 0 0 0 defined $value and not ref $value
0 0 0 defined $value and not ref $value and length $value
665 0 0 0 scalar @stat and S_ISREG($stat[2])
679 0 0 0 defined $in_pool and defined $found
693 0 0 0 defined $info and defined $tags
699 0 0 0 defined $value and not ref $value
0 0 0 defined $value and not ref $value and length $value
707 0 0 0 defined $value and not ref $value
0 0 0 defined $value and not ref $value and length $value
742 0 0 0 defined $info and defined $info->{'for'}
762 0 0 0 defined $value and length $value
770 0 0 0 defined $value and length $value
801 0 0 0 $data =~ /^\0([\x07-\x3f])VM\x0d\x0a\xc0\x0a/ and (ord $1 & 7) == 7
887 0 0 0 not defined $raw and $^O eq "MSWin32"
0 0 0 not defined $raw and $^O eq "MSWin32" and defined $self->{'path'}
903 0 0 0 defined $value and length $value
907 0 0 0 $key eq "ZoneId" and defined(my $zone = $_URLZONE{$value})
948 0 0 2 defined $dev and defined $inode
954 0 0 0 defined $stat[0] and length $stat[0]
0 0 0 defined $stat[0] and length $stat[0] and $stat[0] != 0
955 0 0 0 defined $stat[1] and length $stat[1]
0 0 0 defined $stat[1] and length $stat[1] and $stat[1] > 0
956 0 0 0 $stat[0] == $dev and $stat[1] == $inode
998 0 0 0 defined $interpreter and length $interpreter

or 2 conditions

line l !l condition
298 0 0 $opts{'wanted'} || 0
299 0 0 $opts{'required'} || 0
324 0 0 $mode // "<"
331 0 0 $sa[$i] // "<undef>"
332 0 0 $sb[$i] // "<undef>"
394 0 0 $sysfile_cache->{$pool_path} //= {}
416 0 0 $sysfile_cache->{$pool_path} //= {}
453 2 0 $self->{'properties_values'} //= {}
2 0 +($self->{'properties_values'} //= {})->{'current'} //= {}
481 0 0 $self->{'properties_values'} //= {}
0 0 +($self->{'properties_values'} //= {})->{$lifecycle} //= {}
501 0 0 $info->{'lifecycle'} // "current"
502 0 0 $self->{'properties_values'} //= {}
0 0 +($self->{'properties_values'} //= {})->{$lifecycle} //= {}
506 0 0 $opts{'lifecycle'} // "current"
510 0 0 $self->{'_loaded_xattr'} //= {}
542 0 0 $self->{'digest'} //= {}
545 0 0 $self->{'digest'}{$lifecycle} //= {}
573 0 0 $self->{'properties_values'} //= {}
583 0 0 $pv->{'current'} //= {}
604 0 0 $pv->{'current'} //= {}
613 0 0 $pv->{$lifecycle} //= {}
625 0 0 $pv->{'current'} //= {}
642 0 0 $pv->{'current'} //= {}
654 8 0 $self->{'properties_values'} //= {}
668 0 0 $pv->{'current'} //= {}
694 0 0 $pv->{'current'} //= {}
708 0 0 $pv->{$lifecycle} //= {}
724 0 0 $self->{'digest'} //= {}
725 0 0 $self->{'digest'}{$lifecycle} //= {}
732 0 0 $tags->{'tagged-as'} // []
763 0 0 $pv->{'current'}{'tagpool_file_mediatype'} //= {"raw", $value}
771 0 0 $pv->{'current'}{'tagpool_file_write_mode'} //= {"raw", $value}
780 0 0 $pv->{'current'}{'tagpool_file_thumbnail'} //= {"raw", $value}
790 0 0 $self->{'properties_values'} //= {}
0 0 +($self->{'properties_values'} //= {})->{'current'} //= {}
837 0 0 $self->{'properties_values'} //= {}
0 0 +($self->{'properties_values'} //= {})->{'current'} //= {}
875 0 0 $self->{'properties_values'} //= {}
0 0 +($self->{'properties_values'} //= {})->{'current'} //= {}
917 0 0 $self->{'properties_values'} //= {}
0 0 +($self->{'properties_values'} //= {})->{'current'} //= {}
965 0 0 $self->{'properties_values'} //= {}
0 0 +($self->{'properties_values'} //= {})->{'current'} //= {}
966 0 0 $self->{'properties_values'} //= {}
0 0 +($self->{'properties_values'} //= {})->{'final'} //= {}
975 0 0 $self->{'properties_values'} //= {}
0 0 +($self->{'properties_values'} //= {})->{'current'} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
273 0 0 0 $self->{'filesystem'} //= eval {
287 0 0 0 $self->{'_tagpools'} //= do {
292 0 0 0 $tagpools->[0] // croak("Not part of any tagpool")
324 0 0 0 $self->{'path'} // croak("Open not supported on this object")
464 2 0 6 $key eq 'st_ino' || $key eq 'st_rdev' || $key eq 'st_blksize'
547 0 0 0 $digests->{$algo} //= $digest{$algo}
801 0 0 0 substr($data, 0, 22) eq "<!DOCTYPE HTML PUBLIC " or substr($data, 0, 22) eq "<!DOCTYPE html PUBLIC "
0 0 0 substr($data, 0, 22) eq "<!DOCTYPE HTML PUBLIC " or substr($data, 0, 22) eq "<!DOCTYPE html PUBLIC " or substr($data, 0, 22) eq "<!DOCTYPE HTML SYSTEM "
0 0 0 substr($data, 0, 22) eq "<!DOCTYPE HTML PUBLIC " or substr($data, 0, 22) eq "<!DOCTYPE html PUBLIC " or substr($data, 0, 22) eq "<!DOCTYPE HTML SYSTEM " or uc substr($data, 0, 15) eq "<!DOCTYPE HTML>"
0 0 0 substr($data, 0, 22) eq "<!DOCTYPE HTML PUBLIC " or substr($data, 0, 22) eq "<!DOCTYPE html PUBLIC " or substr($data, 0, 22) eq "<!DOCTYPE HTML SYSTEM " or uc substr($data, 0, 15) eq "<!DOCTYPE HTML>" or lc substr($data, 0, 6) eq "<html>"
0 0 0 substr($data, 0, 22) eq "<!DOCTYPE HTML PUBLIC " or substr($data, 0, 22) eq "<!DOCTYPE html PUBLIC " or substr($data, 0, 22) eq "<!DOCTYPE HTML SYSTEM " or uc substr($data, 0, 15) eq "<!DOCTYPE HTML>" or lc substr($data, 0, 6) eq "<html>" or $data =~ /^<\?xml version="1\.0" encoding="utf-8"\?>\r?\n?<\!DOCTYPE html PUBLIC /
908 0 0 0 $$pv{'zonetransfer_' . lc($key)}{'ise'} //= $zone->{'ise'}