Branch Coverage

blib/lib/Git/Crypt.pm
Criterion Covered Total %
branch 5 24 20.8


line true false branch
28 0 2 if ($filename) { }
30 0 0 unless ($file)
34 0 0 if ($$file{'is_encrypted'})
41 0 4 if $$_{'is_encrypted'}
59 0 4 unless $$file{'is_encrypted'}
72 0 0 $$_{'file'} eq $filename ? :
79 0 2 if ($filename) { }
81 0 0 unless ($file)
85 0 0 unless ($$file{'is_encrypted'})
93 0 4 unless $$file{'is_encrypted'}
106 0 0 if not grep(/^$file$/, @current_files)
119 0 0 if ($$_{'file'} eq $file_to_del)