Condition Coverage

lib/CSS/Watcher/Monitor.pm
Criterion Covered Total %
condition 18 24 75.0


and 3 conditions

line !l l&&!r l&&r condition
36 2 1 12 defined $callback and defined $self->dir
3 0 12 defined $callback and defined $self->dir and -d $self->dir
57 1 0 6 defined $objstat{'atime'} and -f $filename
100 50 14 0 -d $obj and -l $obj
64 0 0 -d $obj and -l $obj and readlink($obj) =~ m[\.\./]
103 0 2 12 -d $obj and not &any(sub { $obj =~ /$_/; } , @{$skip_dirs;})

or 2 conditions

line l !l condition
23 8 1 $options->{'dir'} // undef
71 17 39 $self->{'oldstats'}{$filename} // {}
91 6 6 $skip_dirs ||= []