Condition Coverage

blib/lib/DataStore/CAS/FS/Importer.pm
Criterion Covered Total %
condition 12 66 18.1


and 3 conditions

line !l l&&!r l&&r condition
142 0 4 0 defined $_DEVICE_CONSTRAINT and $stat->dev ne $_DEVICE_CONSTRAINT
183 5 0 0 $hint and $self->_can_reuse_hash($attrs, $hint)
193 0 1 0 defined $_DEVICE_CONSTRAINT and $stat->dev ne $_DEVICE_CONSTRAINT
333 0 0 0 defined $hint and defined $hint->ref
335 0 0 0 defined $size && defined $h_size && $size eq $h_size
339 0 0 0 defined $hint and defined $hint->ref
341 0 0 0 defined $size and defined $h_size
0 0 0 defined $size and defined $h_size and $size eq $h_size
343 0 0 0 defined $modify_ts && defined $h_modify_ts && $modify_ts eq $h_modify_ts
347 0 0 0 defined $hint and defined $hint->ref
349 0 0 0 defined $size and defined $h_size
0 0 0 defined $size and defined $h_size and $size eq $h_size
351 0 0 0 defined $modify_ts && defined $h_modify_ts && $modify_ts eq $h_modify_ts

or 3 conditions

line l !l&&r !l&&!r condition
81 28 0 0 defined $$defaults{$_} or croak("Unknown flag: '${_}'")
83 0 0 0 $self->can($_) or croak("Unknown attribute: '${_}'")
96 0 0 1 defined $_DEVICE_CONSTRAINT or $self->cross_mountpoints
114 0 0 1 defined $_DEVICE_CONSTRAINT or $self->cross_mountpoints
163 0 1 0 $stat ||= $self->_stat($path)
168 0 0 1 defined $_DEVICE_CONSTRAINT or $self->cross_mountpoints
196 1 0 0 defined $_DEVICE_CONSTRAINT or $self->cross_mountpoints
238 6 1 0 $stat ||= $self->_stat($path)
308 0 0 6 $attrs{'type'} eq 'blockdev' or $attrs{'type'} eq 'chardev'