Branch Coverage

blib/lib/IO/Async/File.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
130 2 22 if (exists $params{'filename'}) { }
8 14 elsif (exists $params{'handle'}) { }
141 17 295 if exists $params{"on_${_}_changed"}
151 0 7 unless (defined $self->{'filename'} or defined $self->{'handle'})
164 0 4 unless open $self->{'handle'}, "<", $path
174 3 8 defined $self->{'filename'} ? :
178 107 14 if $old->$stat == $new->$stat
184 2 9 if ($old->dev != $new->dev or $old->ino != $new->ino)
189 11 0 if ($any_changed)