Condition Coverage

blib/lib/Filesys/ZFS.pm
Criterion Covered Total %
condition 12 28 42.8


and 3 conditions

line !l l&&!r l&&r condition
75 0 1 0 $opt and ref $opt ne 'HASH'
83 1 0 0 $< != 0 and not $$opt{'opt'}{'no_root_check'}
112 1 3 0 not @list and $self->errstr
598 1 4 0 not @res and $self->_run_err
643 0 8 44 $n and $res[$i]
696 4 0 0 not @res and $self->_run_err

or 2 conditions

line l !l condition
79 1 0 $$opt{'opt'}{'zpool'} ||= '/sbin/zpool'
80 1 0 $$opt{'opt'}{'zfs'} ||= '/sbin/zfs'

or 3 conditions

line l !l&&r !l&&!r condition
662 0 0 38 /^\s{8}NAME\s+STATE/ or not $_
717 0 0 0 $_ eq '.' or $_ eq '..'