Branch Coverage

blib/lib/App/MaMGal/Entry.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
16 3 87 unless my $dirname = shift()
17 3 84 unless my $basename = shift()
18 3 81 if $basename eq '.' and not $dirname eq '.' || $dirname eq '/'
19 3 78 if $basename =~ m[/]
22 3 39 unless not defined $stat or ref $stat and $stat->isa('File::stat')
23 3 72 if @_
61 6 0 unless (defined $$self{'container'})
83 0 0 unless $$self{'container'}
93 6 4 unless $stat
109 0 0 unless my $stat = stat $path
110 0 0 if $stat->mtime >= $self->content_modification_time(%opts)