Branch Coverage

blib/lib/App/WRT/EntryStore.pm
Criterion Covered Total %
branch 34 42 80.9


line true false branch
105 12 441 unless $File::Find::name =~ m[^ \Q$entry_dir\E / (.*) $]x
115 276 165 if (-f $_) { }
165 0 elsif (-d $_) { }
122 55 386 if ($target =~ m[(.*) / (.*) [.]prop $]x)
143 33 22 if ($prop =~ /^ tag[.] (.*)$/x)
146 33 0 unless (defined $source_files{$tag})
190 341 90 if index($_, '/index', -6) == -1
210 0 156 unless defined $depth
215 120 36 if defined $self->{'by_depth'}{$depth}
276 0 27 if scalar @entries == $entry_count
325 88 33 if ($last_seen)
367 1 2 unless $self->is_extant($entry)
371 1 1 if (@components)
388 0 164 unless $self->is_extant($entry)
390 133 31 if (defined $self->{'child_cache'}{$entry})
458 31 402 if (defined $self->{'property_entries'}{$property})
475 54 162 if (defined $self->{'entry_properties'}{$entry})
502 1 1 if ($self->has_prop($entry, $prop))
540 0 277 unless $self->is_extant($entry)
552 0 658 unless $self->is_extant($entry)
578 0 222 unless $self->is_extant($entry)