blib/lib/crap.pm

filter: Statementstmt 56.2% 9 / 16 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod n/a totaltotal 45.8% 11 / 24 CC 3 SCAR 14.7
CC
3
Cov
45%
import
6.0
unimport
6.0
BEGIN
1.0
CRAP 4.3
↑ Summary
1 package crap;
2 1 $crap::VERSION = '0.08';
3 #ABSTRACT: just don't take any
4  
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 my $hawt;
9  
10 0 ▶sub import {
Subroutine import: not called CC=2 SCAR=17.9
11 0 warnings->unimport();
12 0 strict->unimport();
13 0 ▶ $|=$hawt if defined $hawt;
Branch: 1 branch
BranchTrueFalseTotal
if defined $hawt 0 0 0
14 }
15  
16 0 ▶sub unimport {
Subroutine unimport: not called CC=2 SCAR=17.9
17 0 strict->import();
18 0 warnings->import();
19 0 ▶ $hawt = $| if defined $|;
Branch: 1 branch
BranchTrueFalseTotal
if defined $| 0 0 0
20 0 $|=1;
21 }
22  
23 1 q[for when it hits the fan];
24  
25 __END__
↑ Summary