File Coverage

blib/lib/B/Hooks/EndOfScope.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 21 21 100.0


line stmt bran cond sub pod time code
1             package B::Hooks::EndOfScope; # git description: 0.27-8-gbe15c53
2             # ABSTRACT: Execute code after a scope finished compilation
3             # KEYWORDS: code hooks execution scope
4              
5 13     13   1583641 use strict;
  13         22  
  13         537  
6 13     13   60 use warnings;
  13         31  
  13         1002  
7              
8             our $VERSION = '0.28';
9              
10 13     13   281 use 5.006001;
  13         47  
11              
12             BEGIN {
13 13     13   7446 use Module::Implementation 0.05;
  13         102166  
  13         748  
14 13     13   87 Module::Implementation::build_loader_sub(
15             implementations => [ 'XS', 'PP' ],
16             symbols => [ 'on_scope_end' ],
17             )->();
18             }
19              
20 13         106 use Sub::Exporter::Progressive 0.001006 -setup => {
21             exports => [ 'on_scope_end' ],
22             groups => { default => ['on_scope_end'] },
23 13     13   1905 };
  13         202  
24              
25             1;
26              
27             __END__