test-data/lib/Local/NoUnused.pm

filter: Statementstmt 88.8% 8 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 76.9% 10 / 13 CC 1 SCAR 2.9
CC
1
Cov
89%
bar
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« test-data/lib/Local/Unused.pm ↑ Summary test-data/scripts/lib/Local/PkgNoisy.pm »
1 package Local::NoUnused;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 my $foo;
7  
8 0 ▶sub bar {
Subroutine bar: not called CC=1 SCAR=6.9
Pod undocumented
9 0 my $four = 4; # this probably should trigger an error
10 }
11  
12 3 1;
« test-data/lib/Local/Unused.pm ↑ Summary test-data/scripts/lib/Local/PkgNoisy.pm »