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.24-6-gcafb435
2             # ABSTRACT: Execute code after a scope finished compilation
3             # KEYWORDS: code hooks execution scope
4              
5 7     7   430094 use strict;
  7         72  
  7         191  
6 7     7   31 use warnings;
  7         10  
  7         271  
7              
8             our $VERSION = '0.25';
9              
10 7     7   120 use 5.006001;
  7         20  
11              
12             BEGIN {
13 7     7   2862 use Module::Implementation 0.05;
  7         35896  
  7         252  
14 7     7   36 Module::Implementation::build_loader_sub(
15             implementations => [ 'XS', 'PP' ],
16             symbols => [ 'on_scope_end' ],
17             )->();
18             }
19              
20 7         45 use Sub::Exporter::Progressive 0.001006 -setup => {
21             exports => [ 'on_scope_end' ],
22             groups => { default => ['on_scope_end'] },
23 7     7   782 };
  7         83  
24              
25             1;
26              
27             __END__