Condition Coverage

lib/File/Information/Tagpool.pm
Criterion Covered Total %
condition 0 53 0.0


and 2 conditions

line l !l condition
290 0 0 defined $self->{'locks'} and scalar keys %{$$self{"locks"};}

and 3 conditions

line !l l&&!r l&&r condition
157 0 0 0 not defined $inode and defined $link
184 0 0 0 !defined($file->{'path'}) && length $file->{'path'}
195 0 0 0 $invalid and $opts{'skip_invalid'}
352 0 0 0 defined $config->{'pool-uuid'} and length $config->{'pool-uuid'} == 36

or 2 conditions

line l !l condition
48 0 0 $self->{'locks'} //= {}
94 0 0 $self->{'locks'} //= {}
101 0 0 $self->instance->_tagpool_sysfile_cache->{$self->{'path'}} //= {}
130 0 0 $instance->_tagpool_sysfile_cache->{$self->{'path'}} //= {}
192 0 0 $invalid ||= 1
292 0 0 $self->{'locks'}{$_} // "<undef>"
310 0 0 $task ||= "UNKNOWN"
333 0 0 $self->{'properties_values'} //= {}
339 0 0 $pv->{'current'} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
159 0 0 0 $path //= $link->{'path'}
160 0 0 0 $path //= $inode->{'path'}
184 0 0 0 $invalid ||= !defined($file->{'path'}) && length $file->{'path'}
185 0 0 0 $invalid ||= $file->{'type'} ne "e6d6bb07-1a6a-46f6-8c18-5aa6ea24d7cb"
204 0 0 0 $invalid ||= !defined($file->{'uuid'})
206 0 0 0 $invalid ||= -e $self->_catfile("data", 'info.' . $file->{'uuid'})
311 0 0 0 $instance ||= int $self