blib/lib/Magic/Check.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Magic::Check; | ||||||
2 | $Magic::Check::VERSION = '0.002'; | ||||||
3 | 1 | 1 | 78550 | use strict; | |||
1 | 9 | ||||||
1 | 29 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 1 | ||||||
1 | 23 | ||||||
5 | |||||||
6 | 1 | 1 | 5 | use XSLoader; | |||
1 | 2 | ||||||
1 | 47 | ||||||
7 | |||||||
8 | XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION); | ||||||
9 | |||||||
10 | 1 | 1 | 13 | use Exporter 'import'; | |||
1 | 1 | ||||||
1 | 53 | ||||||
11 | our @EXPORT = qw/check_variable/; | ||||||
12 | |||||||
13 | 1; | ||||||
14 | |||||||
15 | # ABSTRACT: Add type/value checks to variables | ||||||
16 | |||||||
17 | __END__ |