Branch Coverage

blib/lib/Dist/Zilla/Plugin/Git/Describe.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
54 0 3 unless my $package_stmts = $document->find('PPI::Statement::Package')
66 0 3 if ($seen_pkg{$package}++)
71 0 3 if ($stmt->content =~ /package\s*(?:#.*)?\n\s*\Q$package\E/)
76 1 2 $self->on_package_line ? :
90 0 3 unless &all(sub { $stmt->insert_after($_->clone); } , reverse(@children))