| blib/lib/RPM/CPAN/Repository.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 20 | 65.0 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 0 | 1 | unless my $config = "Config::Tiny"->read($os_release) |
| 34 | 1 | 0 | unless ($name =~ /amazon linux/i) |
| 38 | 0 | 0 | if ($version ne 2023) |
| 49 | 0 | 1 | unless ($arch eq "x86_64" or $arch eq "aarch64") |
| 59 | 2 | 1 | unless (-d $dir) |
| 65 | 0 | 1 | unless open my $fh, ">", $REPO_FILE |
| 72 | 1 | 2 | unless open my $fh, "<", $REPO_FILE |
| 76 | 1 | 1 | if ($existing eq $REPO_CONTENT) { } |
| 84 | 1 | 1 | unless (-f $REPO_FILE) |
| 89 | 0 | 1 | unless unlink $REPO_FILE |