blib/lib/Poet.pm

filter: Statementstmt 100% 27 / 27 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 94.7% 36 / 38 CC 3 SCAR 3.7
CC
3
Cov
94%
__ANON__
2.0
import
2.0
BEGIN
1.0
CRAP 1.5
« blib/lib/Poet/t/Log.pm ↑ Summary blib/lib/Poet/Mason.pm »
1 package Poet;
2 5 $Poet::VERSION = '0.16';
3 9 ▶use Poet::Environment;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 9 ▶use Method::Signatures::Simple;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 9 ▶method import ($class:) {
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine import: called CC=2 SCAR=7.0
Subroutine __ANON__: called CC=2 SCAR=7.0
9 41 ▶ my $poet = Poet::Environment->current_env
Branch: 2 branches
BranchTrueFalseTotal
my $poet = "Poet::Environment"->current_env or die "environment has not been initialized!" 41 0 41
my $poet = "Poet::Environment"->current_env or die "environment has not been initialized!" 9 0 9
10 or die "environment has not been initialized!";
11 41 $poet->importer->export_to_level( 1, @_ );
12 5 }
13  
14 5 1;
15  
16 __END__
« blib/lib/Poet/t/Log.pm ↑ Summary blib/lib/Poet/Mason.pm »