blib/lib/Perl/SVCount.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 5 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 7 | 7 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Perl::SVCount; | ||||||
2 | 1 | 1 | 22685 | use XSLoader (); | |||
1 | 3 | ||||||
1 | 68 | ||||||
3 | |||||||
4 | our $VERSION = '0.02'; | ||||||
5 | |||||||
6 | XSLoader::load 'Perl::SVCount', $VERSION; | ||||||
7 | |||||||
8 | # keep it lightweight, since this is an instrumentation module | ||||||
9 | sub import { | ||||||
10 | 1 | 1 | 4 | *{caller() . '::sv_count'} = *sv_count; | |||
1 | 1609 | ||||||
11 | } | ||||||
12 | |||||||
13 | 1; | ||||||
14 | |||||||
15 | __END__ |