Branch Coverage

blib/lib/Mojo/File/ChangeNotify.pm
Criterion Covered Total %
branch 9 22 40.9


line true false branch
62 42 0 if $weak_self
66 21 0 if $weak_self
74 0 31 if ($err and not $err =~ /malformed JSON string/u and not $err =~ /Missing or empty input/u)
78 0 0 if warn "Subprocess error: $err"
80 0 31 if @results
104 0 0 unless ($self and defined $watcher->queue->pending)
116 0 0 if (@events)
127 7 35 if ($handler)
131 0 42 if ($is_win32) { }
144 35 0 if ($pid)
149 0 35 if ($is_win32 and my $w = $self->watcher)