Branch Coverage

blib/lib/Perl/Signature/Set.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
67 0 4 ref $_[0] ? :
68 2 1 defined $_[0] && $_[0] =~ /^[12]$/ ? :
3 1 @_ ? :
113 3 0 -f $_[0] ? :
114 1 2 if $$self{'files'}{$file}
117 0 2 unless my $Signature = 'Perl::Signature'->new($file)
153 6 2 defined $_[0] ? :
194 7 3 if (-f $file) { }
196 0 7 unless defined $changed
197 6 1 if $changed
203 5 0 keys %results ? :
220 0 2 unless $$self{'signature'}
221 0 2 unless $$self{'signature'}{'layer'}
222 0 2 unless $$self{'files'}
228 0 4 unless $signature =~ /^[a-f0-9]{32}$/