| 1 | |||||||||||||
| 2 | package | ||||||||||||
| 3 | ASP4::Page; | ||||||||||||
| 4 | |||||||||||||
| 5 | 15 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | 15 | ▶ | use warnings 'all'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | 15 | ▶ | use base 'ASP4::HTTPHandler'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 8 | 15 | ▶ | use Carp 'confess'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 9 | 15 | ▶ | use ASP4::HTTPContext; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 10 | 15 | ▶ | use ASP4::PageParser; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 11 | |||||||||||||
| 12 | |||||||||||||
| 13 | sub new | ||||||||||||
| 14 | 6194 | ▶ | { | ||||||||||
|
Subroutine
new: called CC=2 SCAR=7.0
Pod
undocumented
| |||||||||||||
| 15 | 6194 | my ($class, %args) = @_; | |||||||||||
| 16 | |||||||||||||
| 17 | my $s = bless { | ||||||||||||
| 18 | masterpage => undef, | ||||||||||||
| 19 | package => undef, | ||||||||||||
| 20 | filename => undef, | ||||||||||||
| 21 | compiled_as => undef, | ||||||||||||
| 22 | script_name => $args{script_name} || undef, | ||||||||||||
| 23 | 6194 | ▶ | %args | ||||||||||
|
Condition50%1/2
$args{'script_name'} || undef
MC/DC0%0/1
$args{'script_name'} || undef
$args{'script_name'}
Truth table50%1/2
A
A= $args{'script_name'}
| |||||||||||||
| 24 | }, $class; | ||||||||||||
| 25 | |||||||||||||
| 26 | 6194 | $s->_init(); | |||||||||||
| 27 | |||||||||||||
| 28 | 6194 | return $s; | |||||||||||
| 29 | }# end new() | ||||||||||||
| 30 | |||||||||||||
| 31 | |||||||||||||
| 32 | sub _init; | ||||||||||||
| 33 | |||||||||||||
| 34 | |||||||||||||
| 35 | 0 | ▶ | sub masterpage { shift->{masterpage} } | ||||||||||
|
Subroutine
masterpage: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 36 | 28 | ▶ | sub package { shift->{package} } | ||||||||||
|
Subroutine
package: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||
| 37 | 0 | ▶ | sub filename { shift->{filename} } | ||||||||||
|
Subroutine
filename: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 38 | 5 | ▶ | sub script_name { shift->{script_name} } | ||||||||||
|
Subroutine
script_name: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||
| 39 | 0 | ▶ | sub compiled_as { shift->{compiled_as} } | ||||||||||
|
Subroutine
compiled_as: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 40 | |||||||||||||
| 41 | 15 | 1;# return true: | |||||||||||
| 42 | |||||||||||||