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

# Branch Coverage

File: | lib/Yukki/Model/File.pm
Coverage: | 15.2%

line | % | coverage | branch
--- | --- | --- | ---
106 | 50 | T | F | if (@_ == 1) { }
109 | 50 | T | F | if ($args{'full_path'})
132 | 50 | T | F | if (defined $self->filetype) { }
186 | 50 | T | F | if ($self->filetype eq 'yukki')
188 | 50 | T | F | if ($line =~ /^#\s*(.*)$/u) { }
| 0 | T | F | elsif ($line =~ /:/u) { }
193 | 0 | T | F | if lc $name eq 'title'
266 | 0 | T | F | if ($params->{'content'}) { }
| 0 | T | F | elsif ($params->{'filename'}) { }
272 | 0 | T | F | unless $object_id
275 | 0 | T | F | unless $old_tree_id
279 | 0 | T | F | unless $new_tree_id
283 | 0 | T | F | unless $commit_id
311 | 0 | T | F | unless $old_tree_id
316 | 0 | T | F | unless $new_tree_id
320 | 0 | T | F | unless $commit_id
347 | 0 | T | F | unless $old_tree_id
351 | 0 | T | F | unless $new_tree_id
355 | 0 | T | F | unless $commit_id
389 | 50 | T | F | unless defined $object_id
408 | 0 | T | F | if $formatter->has_format($media_type)
430 | 50 | T | F | if $plugin->has_format($media_type)
558 | 0 | T | F | if @parts == 1