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 11 defined $callback and defined $self->dir
3 1 10 defined $callback and defined $self->dir and -d $self->dir
57 1 0 5 defined $objstat{'atime'} and -f $filename
100 44 10 0 -d $obj and -l $obj
54 0 0 -d $obj and -l $obj and readlink($obj) =~ m[\.\./]
103 0 0 10 -d $obj and not &any(sub { $obj =~ /$_/; } , @{$skip_dirs;})

or 2 conditions

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