lib/CSS/Watcher/Monitor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 18 | 77.7 |
line | true | false | branch |
---|---|---|---|
29 | 0 | 37 | if @_ |
36 | 1 | 12 | unless defined $callback and defined $self->dir and -d $self->dir |
42 | 35 | 15 | unless ($self->_deep_compare($self->_get_stat($fname), $stat)) |
57 | 1 | 6 | unless defined $objstat{'atime'} and -f $filename |
94 | 12 | 0 | if (-d $dir) |
100 | 0 | 14 | if -d $obj and -l $obj and readlink($obj) =~ m[\.\./] |
103 | 50 | 14 | if (-f $obj) { } |
12 | 2 | elsif (-d $obj and not &any(sub { $obj =~ /$_/; } , @{$skip_dirs;})) { } | |
125 | 0 | 24 | unless opendir my $dh, $dir |