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.25-2-g173e4cd
2             # ABSTRACT: Execute code after a scope finished compilation
3             # KEYWORDS: code hooks execution scope
4              
5 7     7   413987 use strict;
  7         72  
  7         173  
6 7     7   33 use warnings;
  7         9  
  7         243  
7              
8             our $VERSION = '0.26';
9              
10 7     7   124 use 5.006001;
  7         20  
11              
12             BEGIN {
13 7     7   2818 use Module::Implementation 0.05;
  7         35977  
  7         229  
14 7     7   33 Module::Implementation::build_loader_sub(
15             implementations => [ 'XS', 'PP' ],
16             symbols => [ 'on_scope_end' ],
17             )->();
18             }
19              
20 7         42 use Sub::Exporter::Progressive 0.001006 -setup => {
21             exports => [ 'on_scope_end' ],
22             groups => { default => ['on_scope_end'] },
23 7     7   661 };
  7         79  
24              
25             1;
26              
27             __END__