Branch Coverage

blib/lib/Git/Database/Object/Commit.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
24 7 537 if not $self->has_digest || $self->has_content || $self->has_commit_info
49 98 160 unless ($self->has_commit_info)
51 84 0 if exists $attr->{'content'}
53 0 0 if (exists $attr->{'commit_info'}) { }
87 35 180 unless ($self->has_content)
89 0 28 if exists $attr->{'commit_info'}
91 28 0 if (exists $attr->{'content'}) { }
109 0 780 if $key eq 'mergetag'
115 780 0 if $key
135 0 208 if keys %header