| blib/lib/Env/Assert.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 22 | 54.5 |
| line | true | false | branch |
|---|---|---|---|
| 33 | 1 | 3 | if $cmd and $cmd ne "assert" |
| 35 | 0 | 3 | unless (assert_env(%{$args;})) |
| 50 | 1 | 2 | if ($args{'envdesc'}) { } |
| 52 | 0 | 1 | unless open my $fh, "<", \$content |
| 55 | 0 | 1 | unless close $fh |
| 59 | 0 | 2 | unless open my $fh, "<", $env_desc_filename |
| 61 | 0 | 2 | unless close $fh |
| 66 | 3 | 0 | if defined $break_at_first_error |
| 68 | 3 | 0 | if defined $exact |
| 71 | 0 | 3 | unless ($r->{'success'}) |
| 72 | 0 | 0 | unless print {*STDERR;} report_errors($r->{'errors'}) |