buildlib/Lucy/Test/TestUtils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 26 | 61.5 |
line | true | false | branch |
---|---|---|---|
56 | 0 | 1 | unless mkdir $working_dir, 448 |
62 | 1 | 1 | unless -d $working_dir |
86 | 0 | 9 | if -e $dir |
87 | 0 | 9 | unless mkdir $dir |
111 | 4 | 0 | if -d $dir |
121 | 0 | 2 | unless opendir my $uscon_dh, $uscon_dir |
124 | 0 | 2 | unless closedir $uscon_dh |
130 | 0 | 104 | unless open my $fh, '<', $filepath |
133 | 0 | 104 | unless $content =~ /\A(.+?)^\s+(.*)/ms |
138 | 2 | 0 | $filename =~ /preamble/ ? : |
54 | 2 | $filename =~ /amend/ ? : | |
48 | 56 | $filename =~ /art/ ? : | |
250 | 0 | 1084 | unless $b->get_score <=> $a->get_score |