Branch Coverage

blib/lib/Git/Repository/Plugin/Blame.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
82 0 6 if scalar keys %args != 0
87 2 4 if ($use_cache)
97 0 2 unless defined $cache
101 0 2 if defined $blame_lines
107 2 4 if $ignore_whitespace
117 21 142 if ($line =~ /^\t(.*)$/x) { }
125 21 0 defined $1 ? :
133 21 121 if ($line =~ /^([0-9a-f]+)\s(\d+)\s(\d+)\s*(\d*)$/x) { }
121 0 elsif ($line =~ /^([\w\-]+)\s*(.*)$/x) { }
145 2 4 if (defined $cache)