| blib/lib/Git/Repository/Plugin/Blame/Cache.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 82 | 0 | 8 | if scalar keys %args != 0 |
| 85 | 1 | 7 | if not defined $repository or $repository eq '' |
| 88 | 6 | 1 | unless (defined $$CACHE{$repository}) |
| 143 | 0 | 5 | if scalar keys %args != 0 |
| 146 | 1 | 4 | if not defined $file or $file eq '' |
| 183 | 0 | 6 | if scalar keys %args != 0 |
| 186 | 1 | 5 | if not defined $file or $file eq '' |
| 188 | 1 | 4 | unless defined $blame_lines |
| 190 | 1 | 3 | unless Data::Validate::Type::is_arrayref($blame_lines) |