| builder/custom.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 12 | 16 | 75.0 |
| branch | 0 | 2 | 0.0 |
| condition | n/a | ||
| subroutine | 4 | 5 | 80.0 |
| pod | 0 | 1 | 0.0 |
| total | 16 | 24 | 66.6 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package builder::custom; | ||||||
| 2 | 1 | 1 | 7 | use strict; | |||
| 1 | 2 | ||||||
| 1 | 73 | ||||||
| 3 | 1 | 1 | 5 | use warnings; | |||
| 1 | 1 | ||||||
| 1 | 54 | ||||||
| 4 | 1 | 1 | 2 | use warnings FATAL => qw(recursion); | |||
| 1 | 1 | ||||||
| 1 | 58 | ||||||
| 5 | 1 | 1 | 395 | use parent qw(Module::Build); | |||
| 1 | 249 | ||||||
| 1 | 37 | ||||||
| 6 | |||||||
| 7 | sub new { | ||||||
| 8 | 0 | 0 | 0 | my ($class, %args) = @_; | |||
| 9 | 0 | 0 | die "OS Unsupported: " . $^O if ($^O !~ m#(?i)(Linux|darwin)#); | ||||
| 10 | 0 | print $^O; | |||||
| 11 | 0 | return $class->SUPER::new(%args); | |||||
| 12 | } | ||||||
| 13 | 1; |