Condition Coverage

blib/lib/DataStore/CAS/FS/Exporter.pm
Criterion Covered Total %
condition 2 36 5.5


and 3 conditions

line !l l&&!r l&&r condition
117 0 0 0 defined $major and length $major
0 0 0 defined $major and length $major and defined $minor
0 0 0 defined $major and length $major and defined $minor and length $minor
125 0 0 0 socket $sock, Socket::PF_UNIX(), Socket::SOCK_STREAM(), 0 and bind $sock, sockaddr_un($path)
145 0 0 0 defined $cache->{$u} && ($uid = $cache->{$u})
151 0 0 0 defined $cache->{$g} && ($gid = $cache->{$g})
180 0 0 0 `mknod --version` && $? == 0

or 3 conditions

line l !l&&r !l&&!r condition
46 4 0 0 defined $defaults->{$_} or croak("Unknown flag: '${_}'")
48 0 0 0 $self->can($_) or croak("Unknown attribute: '${_}'")
105 0 0 0 $t eq 'blockdev' or $t eq 'chardev'
154 0 0 0 chown defined $uid ? $uid : -1, defined $gid ? $gid : -1, $path or $self->_handle_metadata_error("chown($uid, $gid, $path): $!")
0 0 3 defined $uid or defined $gid