Branch Coverage

blib/lib/File/ChangeNotify/Watcher/Default.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
34 12 0 if @events
49 6 57 if (not exists $new_map->{$path}) { }
50 2 4 if ($old_map->{$path}{'is_dir'})
64 14 43 if ($modified)
103 10 8 if not $old_entry->{'is_dir'} and $old_entry->{'stat'}{'mtime'} != $new_entry->{'stat'}{'mtime'} || $old_entry->{'size'} != $new_entry->{'size'}
105 4 43 if (my(@attrs) = $self->_modify_event_maybe_file_attribute_changes($path, $old_map, $new_map))