| blib/lib/File/TreeCreate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 14 | 78.5 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 28 | 1 | if ($path =~ s[^\./][]) |
| 38 | 3 | 26 | if ($is_dir) { } |
| 69 | 0 | 2 | unless &File::TreeCreate::open(my $in, '<', $self->get_path(@_)) |
| 83 | 0 | 5 | unless &File::TreeCreate::opendir(my $dir, scalar $self->get_path(@_)) |
| 102 | 4 | 1 | if ($name =~ s[/$][]) { } |
| 106 | 2 | 2 | if (exists $tree->{'subs'}) |
| 118 | 1 | 0 | exists $tree->{'contents'} ? : |