| blib/lib/File/Tree/Snapshot.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 4 | 20 | 20.0 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 0 | 0 | unless $opt{'is_absolute'} |
| 21 | 0 | 0 | if $opt{'mkpath'} |
| 23 | 0 | 0 | unless CORE::open my $fh, $mode, $file |
| 31 | 0 | 1 | if (@$err) |
| 40 | 1 | 2 | if system $cmd |
| 60 | 0 | 1 | unless CORE::open my $fh, '>', "$path/.gitignore" |
| 71 | 0 | 0 | unless CORE::open my $handle, '-|', $cmd |
| 80 | 0 | 0 | unless ($self->_has_changes) |
| 84 | 0 | 0 | $self->allow_empty ? : |
| 95 | 0 | 0 | unless $self->_has_changes |