blib/lib/Acme/Anything.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.6% 22 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Acme::Anything;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '0.04';
7  
8 1 push @main::INC, \ &handler_of_last_resort;
9  
10 1 ▶sub handler_of_last_resort {
Subroutine handler_of_last_resort: called CC=1 SCAR=0.0
Pod undocumented
11 1 my $fake_source_code = '1';
12 1 open my ($fh), '<', \ $fake_source_code;
13 1 return $fh;
14 };
15  
16 1 ▶no warnings; ## no critic (warning)
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 'Warning! The consumption of alcohol may cause you to think you have mystical kung-fu powers.'
18  
19 __END__
↑ Summary