Branch Coverage

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


line true false branch
29 0 2 if ($filename) { }
31 0 0 unless ($file)
35 0 0 if ($$file{'is_encrypted'})
42 0 4 if $$_{'is_encrypted'}
60 0 4 unless $$file{'is_encrypted'}
73 0 0 $$_{'file'} eq $filename ? :
80 0 2 if ($filename) { }
82 0 0 unless ($file)
86 0 0 unless ($$file{'is_encrypted'})
94 0 4 unless $$file{'is_encrypted'}
107 0 0 if not grep(/^$file$/, @current_files)
120 0 0 if ($$_{'file'} eq $file_to_del)