Branch Coverage

blib/lib/File/Assets/Filter/Collect.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
15 227 112 unless @_
39 1 161 exists $_{$setting} ? :
48 0 56 if $self->skip_if_exists
50 56 0 if ($self->cfg->{'fingerprint_digest'})
60 115 0 if (my $digester = $self->fingerprint_digester)
72 0 56 unless @$matched
74 0 56 if $self->cfg->{'skip_single'} and 1 == @$matched
76 56 0 if (my $digester = $self->fingerprint_digester)
80 0 56 if $self->skip_if_exists
84 38 18 if ($build)
94 0 112 if ($self->cfg->{'skip_if_exists'} and $self->asset)
95 0 0 if (-e $self->asset->file and -s _)
117 56 0 if ($self->cfg->{'check_age'})
119 38 18 if $mtime > $self->output_asset->file_mtime
158 31 7 if defined $content