Branch Coverage

blib/lib/Darcs/Inventory.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
11 0 5 unless open INV, '<', $filename
13 0 116 if /^pristine:$/ and not defined $patch
14 22 94 if /^(hash: .*)$/ and not defined $patch
15 27 89 if s/^(.*\*[-*]\d{14})?\]//
16 27 89 if not defined $patch and s/^\s*\[//
17 64 52 if defined $patch
26 0 5 unless $patch
36 1 2 unless open FORMAT, '<', "$repo/_darcs/format"
41 2 1 $repo_format =~ /hashed/ ? :
43 0 3 unless $inventory