Condition Coverage

blib/lib/CPAN/InGit.pm
Criterion Covered Total %
condition 4 29 13.7


and 3 conditions

line !l l&&!r l&&r condition
43 0 0 5 builtin::blessed($thing) and $thing->isa("Git::Raw::Repository")
52 0 0 4 $origin && ref($origin)->isa('Git::Raw::Branch')
56 4 0 0 !$self->git_repo->is_bare && ($branch && $branch->is_head || $branch_or_tag_or_id eq 'HEAD')
104 9 0 0 builtin::blessed($branch_or_tag_or_id) and $branch_or_tag_or_id->isa('Git::Raw::Branch') || $branch_or_tag_or_id->isa('Git::Raw::Tag')
219 0 0 0 not $meta and my $meta_yml = $files{'META.yml'}
230 0 0 0 /\.pm\z/u && !m[^(t|xt|inc|script|bin)/]u

or 2 conditions

line l !l condition
226 0 0 $meta //= {}

or 3 conditions

line l !l&&r !l&&!r condition
32 0 0 0 $self->git_repo->is_bare or $self->git_repo->is_head_detached
104 0 0 0 $branch_or_tag_or_id->isa('Git::Raw::Branch') || $branch_or_tag_or_id->isa('Git::Raw::Tag')
236 0 0 0 $provides->{$pkg}{'version'} //= $mm->version($pkg)