Branch Coverage

blib/lib/Git/FastExport.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
21 1 805 unless defined $fh
30 64 741 unless defined $block->{'header'}
39 678 1794 if (/^(commit|tag|reset|blob|checkpoint|progress|feature|option|done)\b/)
40 0 678 if exists $self->{'source'}
48 286 1508 if (/^data (.*)/) { }
8 1500 elsif (/^(?:[MDRC] |deleteall)/) { }
1151 349 elsif (/^(\w+)/) { }
49 0 286 if (substr($1, 0, 2) eq '<<') { }
64 286 0 if ($bytes) { }
82 0 349 unless /^$/
88 272 469 if ($block->{'type'} eq 'commit')