Branch Coverage

blib/lib/Git/Database/Object/Tree.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
23 7 200 unless $self->has_digest or $self->has_content or $self->has_directory_entries
31 200 403 if $self->has_directory_entries
39 98 200 unless ($self->has_directory_entries)
41 84 0 if exists $attr->{'content'}
43 0 0 if (exists $attr->{'directory_entries'}) { }
59 35 204 unless ($self->has_content)
61 0 28 if exists $attr->{'directory_entries'}
63 28 0 if (exists $attr->{'content'}) { }
73 24 208 unless $content