blib/lib/A1z/Html.pm

filter: Statementstmt 73.6% 14 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 3 totaltotal 64.2% 18 / 28 CC 1 SCAR 2.9
CC
1
Cov
74%
NAME
2.0
welcome
2.0
BEGIN
1.0
CRAP 1.3
↑ Summary
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package A1z::Html;
4 1 ▶use vars qw($NAME);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # ABSTRACT: Web Utilities
7  
8 0 ▶sub NAME { my $self = shift; $NAME = "Fast and Easy Web Apps"; return $NAME; }
Subroutine NAME: not called CC=1 SCAR=6.9
Pod undocumented
9  
10 1 our $VERSION = '0.003';
11  
12 sub new {
13 1 ▶ my $class = shift;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
14 1 my $self = bless { @_ }, $class;
15 1 return $self;
16 }
17  
18 sub welcome {
19 0 ▶ print qq{Content-Type: text/html;charset=utf-8\n\n};
Subroutine welcome: not called CC=1 SCAR=6.9
Pod undocumented
20 0 print qq{Welcome};
21 }
22  
23 1 1;
24  
25 __END__
↑ Summary