Branch Coverage

blib/lib/Git/Repository/Plugin/Blame/Cache.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
90 0 10 if scalar keys %args != 0
94 1 9 if not defined $repository or $repository eq ''
100 4 5 if (scalar keys %$blame_args != 0)
105 4 0 defined $$blame_args{$blame_arg} ? :
114 7 2 unless (defined $$CACHE{$repository}{$serialized_blame_args})
171 0 8 if scalar keys %args != 0
174 1 7 if not defined $file or $file eq ''
211 0 7 if scalar keys %args != 0
214 1 6 if not defined $file or $file eq ''
216 1 5 unless defined $blame_lines
218 1 4 unless Data::Validate::Type::is_arrayref($blame_lines)