Branch Coverage

blib/lib/PFT/Tree.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
74 3 2 if ($opts->{'create'}) { }
1 1 elsif (defined(my $root = PFT::Conf::locate($given))) { }
75 0 3 unless defined $given
77 1 2 if (defined $root and $root ne $given)
101 2 0 unless (PFT::Conf::isroot(my $root = $self->{'root'}))