corpus/ffi_build_plugin/lib2/FFI/Build/Plugin/Foo2.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 15 | 16 | 93.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package FFI::Build::Plugin::Foo2; | ||||||
2 | |||||||
3 | 1 | 1 | 8 | use strict; | |||
1 | 2 | ||||||
1 | 33 | ||||||
4 | 1 | 1 | 6 | use warnings; | |||
1 | 25 | ||||||
1 | 36 | ||||||
5 | 1 | 1 | 22 | use constant api_version => 0; | |||
1 | 5 | ||||||
1 | 122 | ||||||
6 | |||||||
7 | sub new | ||||||
8 | { | ||||||
9 | 2 | 2 | 0 | 6 | my($class) = @_; | ||
10 | 2 | 10 | bless {}, $class; | ||||
11 | } | ||||||
12 | |||||||
13 | 1; |