blib/lib/Git/FastExport.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 22 | 81.8 |
line | true | false | branch |
---|---|---|---|
21 | 1 | 1185 | unless defined $fh |
30 | 60 | 1125 | unless defined $block->{'header'} |
39 | 1066 | 2557 | if (/^(commit|tag|reset|blob|checkpoint|progress|feature|option|done)\b/) |
40 | 0 | 1066 | if exists $self->{'source'} |
48 | 485 | 2072 | if (/^data (.*)/) { } |
220 | 1852 | elsif (/^(?:[MDRC] |deleteall)/) { } | |
1308 | 544 | elsif (/^(\w+)/) { } | |
49 | 0 | 485 | if (substr($1, 0, 2) eq '<<') { } |
64 | 485 | 0 | if ($bytes) { } |
82 | 0 | 544 | unless /^$/ |
88 | 258 | 867 | if ($block->{'type'} eq 'commit') |