Condition Coverage

blib/lib/Filesys/Notify/Simple.pm
Criterion Covered Total %
condition 17 37 45.9


and 2 conditions

line l !l condition
35 0 5 $^O eq 'linux' and 1
5 0 $^O eq 'darwin' and 1
5 0 $^O eq 'freebsd' and 1
5 0 $^O eq 'MSWin32' and 1
5 0 $^O eq 'cygwin' and 1

and 3 conditions

line !l l&&!r l&&r condition
35 1 4 0 $^O eq 'linux' and 1 and eval { do { require Linux::Inotify2; 1 } }
5 0 0 $^O eq 'darwin' and 1 and eval { do { require Mac::FSEvents; 1 } }
5 0 0 $^O eq 'freebsd' and 1 and eval { do { require Filesys::Notify::KQueue; 1 } }
5 0 0 $^O eq 'MSWin32' and 1 and eval { do { require Win32::ChangeNotify; 1 } }
5 0 0 $^O eq 'cygwin' and 1 and eval { do { require Win32::ChangeNotify; 1 } }
176 12 6 0 not $$new{$dir}{$path}{'is_dir'} and $$old{$dir}{$path}{'mtime'} != $$new{$dir}{$path}{'mtime'} || $$old{$dir}{$path}{'size'} != $$new{$dir}{$path}{'size'}

or 3 conditions

line l !l&&r !l&&!r condition
27 2 3 0 $$self{'watcher'} ||= $$self{'watcher_cb'}(@{$$self{'paths'};})
176 0 0 6 $$old{$dir}{$path}{'mtime'} != $$new{$dir}{$path}{'mtime'} || $$old{$dir}{$path}{'size'} != $$new{$dir}{$path}{'size'}
202 43 0 0 $File::Find::fullname || 'File::Spec'->rel2abs($File::Find::name)