ASP4/Page.pm

filter: Statementstmt 86.6% 13 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 90.0% 18 / 20 CC 1 SCAR 0.6
CC
1
Cov
87%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« ASP4/PageParser.pm ↑ Summary ASP4/UserAgent.pm »
1  
2 package ASP4::Page;
3  
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use base 'ASP4::HTTPHandler';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use Carp 'confess';
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 ▶use ASP4::HTTPContext;
Subroutine BEGIN: called CC=1 SCAR=2.6
9 use ASP4::PageParser;
10  
11  
12 sub new
13 {
14 my ($class, %args) = @_;
15
16 my $s = bless {
17 masterpage => undef,
18 package => undef,
19 filename => undef,
20 compiled_as => undef,
21 script_name => $args{script_name} || undef,
22 %args
23 }, $class;
24
25 $s->_init();
26
27 return $s;
28 }# end new()
29  
30  
31 sub _init;
32  
33  
34 sub masterpage { shift->{masterpage} }
35 sub package { shift->{package} }
36 sub filename { shift->{filename} }
37 sub script_name { shift->{script_name} }
38 sub compiled_as { shift->{compiled_as} }
39  
40 1;# return true:
41  
« ASP4/PageParser.pm ↑ Summary ASP4/UserAgent.pm »