test-data/lib/Local/ViaExporter.pm

filter: Statementstmt 93.3% 14 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 85.0% 17 / 20 CC 1 SCAR 2.2
CC
1
Cov
93%
foo
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« test-data/lib/Local/MyOwnMoose.pm ↑ Summary blib/lib/App/perlimports/Sandbox.pm »
1 package Local::ViaExporter;
2  
3 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 5 our @EXPORT = qw(foo $foo @foo %foo);
8  
9 0 ▶sub foo { return 'from sub foo' }
Subroutine foo: not called CC=1 SCAR=6.9
Pod undocumented
10 5 our $foo = 1;
11 5 our @foo = ( 1 .. 10 );
12 5 our %foo = ( foo => 'bar' );
13  
14 5 1;
« test-data/lib/Local/MyOwnMoose.pm ↑ Summary blib/lib/App/perlimports/Sandbox.pm »