Branch Coverage

blib/lib/Git/Repository/Plugin/Blame.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
76 0 2 if scalar keys %args != 0
81 1 1 if ($use_cache)
85 0 1 unless defined $cache
89 0 1 if defined $blame_lines
103 8 52 if ($line =~ /^\t(.*)$/x) { }
106 8 0 defined $1 ? :
119 8 44 if ($line =~ /^([0-9a-f]+)\s(\d+)\s(\d+)\s*(\d*)$/x) { }
44 0 elsif ($line =~ /^([\w\-]+)\s*(.*)$/x) { }
131 1 1 if (defined $cache)