Branch Coverage

blib/lib/Decision/Depends/State.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
57 0 57 'HASH' eq ref $_[-1] ? :
71 0 95 unless defined $attr
73 0 95 unless 'HASH' eq ref $attr
77 0 95 if @notok
82 1 94 if $$self{'Attr'}{'Pretend'}
84 35 60 if exists $$attr{'File'}
95 2 90 defined $file && -f $file ? :
107 0 27 if $$self{'Attr'}{'Pretend'} or not defined $$self{'Attr'}{'File'}
109 0 27 $$self{'Attr'}{'DumpFiles'} ? :
0 27 unless YAML::DumpFile($$self{'Attr'}{'File'}, {'Sig', $$self{'Sig'}, 'Var', $$self{'Var'}, 'Files', $$self{'Attr'}{'DumpFiles'} ? $$self{'Files'} : {}})
158 5 5 unless exists $$self{'SLink'}{$slink}
168 1 8 exists $$self{'SLink'}{$file} ? :
179 1 62 exists $$self{'Files'}{$file} ? :
186 55 1 unless $$self{'Attr'}{'Cache'}
199 4 2 exists $$self{'Sig'}{$target} && exists $$self{'Sig'}{$target}{$file} ? :
220 23 5 exists $$self{'Var'}{$target} && exists $$self{'Var'}{$target}{$var} ? :