GX.pm

filter: Statementstmt 100% 15 / 15 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 95.2% 20 / 21 CC 2 SCAR 3.4
CC
2
Cov
94%
import
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« GX/Component/Singleton.pm ↑ Summary GX/HTTP/Request/Cookies.pm »
1 # ----------------------------------------------------------------------------------------------------------------------
2 # GX Framework (c) 2009-2011 Jörg A. Uzarek <uzarek@runlevelnull.de>
3 # File: GX.pm
4 # ----------------------------------------------------------------------------------------------------------------------
5  
6 package GX;
7  
8 32 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 32 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 32 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 32 require GX::Application;
13  
14 32 our $VERSION = '0.2000_01';
15  
16  
17 # ----------------------------------------------------------------------------------------------------------------------
18 # Export mechanism
19 # ----------------------------------------------------------------------------------------------------------------------
20  
21 31 ▶sub import {
Subroutine import: called CC=2 SCAR=7.0
22  
23 31 my $package = shift;
24  
25 31 ▶ return if $package ne __PACKAGE__;
Branch: 1 branch
BranchTrueFalseTotal
if $package ne __PACKAGE__ 0 31 31
26  
27 31 unshift @_, 'GX::Application';
28  
29 31 goto &GX::Application::import;
30  
31 }
32  
33  
34 32 1;
35  
36 __END__
« GX/Component/Singleton.pm ↑ Summary GX/HTTP/Request/Cookies.pm »