blib/lib/Devel/ChangePackage.pm

filter: Statementstmt 100% 18 / 18 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 96.0% 24 / 25 CC 1 SCAR 0.0
CC
1
Cov
95%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary ChangePackage.xs »
1 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package Devel::ChangePackage;
5 3 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 $Devel::ChangePackage::AUTHORITY = 'cpan:FLORA';
7 }
8 {
9 3 $Devel::ChangePackage::VERSION = '0.08';
10 }
11 # ABSTRACT: Change the package code is currently being compiled in
12  
13 3 ▶use XSLoader;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 3 ▶use Sub::Exporter -setup => {
Subroutine BEGIN: called CC=1 SCAR=0.0
15 exports => ['change_package'],
16 groups => { default => ['change_package'] },
17 3 };
18  
19  
20 XSLoader::load(
21 __PACKAGE__,
22 # we need to be careful not to touch $VERSION at compile time, otherwise
23 # DynaLoader will assume it's set and check against it, which will cause
24 # fail when being run in the checkout without dzil having set the actual
25 # $VERSION
26 exists $Devel::ChangePackage::{VERSION}
27 3 ▶ ? ${ $Devel::ChangePackage::{VERSION} } : (),
Branch: 1 branch
BranchTrueFalseTotal
exists $Devel::ChangePackage::{'VERSION'} ? : 3 0 3
28 );
29  
30 3 1;
31  
32 __END__
↑ Summary ChangePackage.xs »