Branch Coverage: lib/Yukki/Model/Repository.pm

# Branch Coverage

File: | lib/Yukki/Model/Repository.pm
Coverage: | 1.7%

line | % | coverage | branch
--- | --- | --- | ---
199 | 0 | T | F | if (ref $_[0]) { }
211 | 0 | T | F | if (defined $blob) { }
224 | 0 | T | F | if (@new_path)
228 | 0 | T | F | if (@new_path == 0) { }
241 | 0 | T | F | if (@old_path)
250 | 0 | T | F | if (defined $base)
255 | 0 | T | F | if (defined $new_name and $old_file eq $new_name) { }
| 0 | T | F | elsif (defined $old_name and $old_file eq $old_name) { }
261 | 0 | T | F | if $old_type ne $new_type
266 | 0 | T | F | if ($new_type eq 'blob') { }
| 0 | T | F | elsif ($old_name eq $new_name) { }
290 | 0 | T | F | unless ($remove_here)
304 | 0 | T | F | if ($new_name and not $overwrite)
307 | 0 | T | F | if ($new_type eq 'blob') { }
369 | 0 | T | F | if ($name eq $self->branch)
439 | 0 | T | F | if ($_ =~ /Not a valid object name/u) { }
453 | 50 | T | F | if ($name eq $path)
489 | 0 | T | F | if $name eq $path
512 | 0 | T | F | unless $type eq 'blob'
515 | 0 | T | F | if ($name =~ s/\.(?<filetype>[a-z0-9]+)$//u)
616 | 0 | T | F | if ($mode eq 'log') { }
| 0 | T | F | elsif ($mode eq 'stat') { }
| 0 | T | F | elsif ($mode eq 'skip') { }
632 | 0 | T | F | if ($path eq $full_path)
643 | 0 | T | F | unless $line =~ /\S/u
681 | 0 | T | F | if $i++ < 5
684 | 0 | T | F | if ($type =~ /^(?:~| |\+|-)$/u) { }
| 0 | T | F | elsif ($type eq '\\') { }
685 | 0 | T | F | if ($last_chunk_type eq $type) { }
| 0 | T | F | elsif ($type eq '~') { }