Branch Coverage

blib/lib/Catalyst/Controller/AutoAssets/Handler/Directory.pm
Criterion Covered Total %
branch 9 28 32.1


line true false branch
27 0 3 unless scalar @args > 0
32 0 3 unless $sha1 eq $self->asset_name and exists $self->subfile_meta->{$path}
58 0 0 unless my $content_type = $self->subfile_meta->{$File}{'content_type'}
77 5 0 if ($full_path =~ /.*\.(\S{1,})$/msx) { }
80 5 0 if ($type) { }
81 5 0 ref $type ? :
137 0 8 if $self->_excluded_paths->{$path} or not -f $File
144 0 8 unless exists $self->subfile_meta->{$path} and $File->stat->mtime eq $self->subfile_meta->{$path}{'mtime'}
180 8 4 if scalar @args > 0
290 0 0 ref $args[0] eq 'HASH' ? :
0 0 scalar @args > 0 ? :
295 0 0 $cnf{'css'} ? :
296 0 0 $cnf{'js'} ? :
317 0 0 scalar @tags > 0 ? :