| builder/MyBuilder.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 11 | 13 | 84.6 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 5 | 80.0 |
| pod | 0 | 1 | 0.0 |
| total | 15 | 19 | 78.9 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package builder::MyBuilder; | ||||||
| 2 | 1 | 1 | 7 | use strict; | |||
| 1 | 2 | ||||||
| 1 | 64 | ||||||
| 3 | 1 | 1 | 6 | use warnings; | |||
| 1 | 1 | ||||||
| 1 | 80 | ||||||
| 4 | 1 | 1 | 25 | use 5.008001; | |||
| 1 | 4 | ||||||
| 5 | 1 | 1 | 663 | use parent 'Module::Build::XSUtil'; | |||
| 1 | 371 | ||||||
| 1 | 6 | ||||||
| 6 | |||||||
| 7 | sub new { | ||||||
| 8 | 0 | 0 | 0 | my ($class, %args) = @_; | |||
| 9 | 0 | return $class->SUPER::new( | |||||
| 10 | %args, | ||||||
| 11 | c_source => ['src'], | ||||||
| 12 | needs_compiler_c99 => 1, | ||||||
| 13 | generate_xshelper_h => "src/xshelper.h", | ||||||
| 14 | generate_ppport_h => "src/ppport.h", | ||||||
| 15 | extra_compiler_flags => ['-DPERL_EXT'], | ||||||
| 16 | ); | ||||||
| 17 | } | ||||||
| 18 | |||||||
| 19 | 1; |