File Coverage

blib/lib/Require/HookChain/test/noop_all.pm
Criterion Covered Total %
statement 0 4 0.0
branch n/a
condition n/a
subroutine 0 2 0.0
pod 0 2 0.0
total 0 8 0.0


line stmt bran cond sub pod time code
1             ## no critic: TestingAndDebugging::RequireUseStrict
2             package Require::HookChain::test::noop_all;
3              
4             # IFUNBUILT
5             # use strict;
6             # use warnings;
7             # END IFUNBUILT
8             #use Log::ger;
9              
10             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
11             our $DATE = '2023-12-05'; # DATE
12             our $DIST = 'Require-HookChain'; # DIST
13             our $VERSION = '0.016'; # VERSION
14              
15             sub new {
16 0     0 0   my ($class) = @_;
17 0           bless {}, $class;
18             }
19              
20             sub Require::HookChain::test::noop_all::INC {
21 0     0 0   my ($self, $r) = @_;
22              
23             #print "Loading ", $r->filename, " ...\n";
24 0           $r->src("1;");
25             }
26              
27             1;
28             # ABSTRACT: Make module loading a no-op
29              
30             __END__