blib/lib/Darcs/Inventory/Patch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 16 | 37.5 |
line | true | false | branch |
---|---|---|---|
15 | 0 | 27 | unless $_[0] =~ /(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/ |
23 | 22 | 5 | if $line[-1] =~ /^hash: ([0-9]{10}-[0-9a-f]{64})$/ |
27 | 0 | 27 | unless $patch{'meta'} =~ /^(.*)\*([-*])(\d{14})/ |
32 | 1 | 26 | $patch{'undo'} ? : |
52 | 0 | 0 | $p->undo ? : |
60 | 0 | 0 | unless defined $$self{'diff'} |
67 | 0 | 0 | unless ($$self{'diffstat'}) |
70 | 0 | 0 | unless run(['diffstat'], '<', \$diff, '>', \$$self{'diffstat'}, '2>', \$error) |