Branch Coverage

blib/lib/Dist/Zilla/Tempdir/Dir.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
48 7 0 if ($self->_has_tempdir_owner)
123 2 12 if (not $file->on_disk) { }
2 10 elsif ($file->on_disk_changed) { }
129 2 0 if ('Dist::Zilla::File::InMemory'->can('encoded_content'))
152 4 0 if ('Dist::Zilla::File::InMemory'->can('encoded_content'))
192 12 4 if $self->_has_input_file(path($filename)->relative($self->_tempdir))
236 0 0 if ($nargs < 2)
240 0 0 if ($keep) { }
262 0 0 if (not $message) { }