blib/lib/Data/HTML/Footer.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 83.3% 10 / 12 CC 1 SCAR 0.9
CC
1
Cov
78%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
↑ Summary
1 package Data::HTML::Footer;
2  
3 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 0 ▶use Mo qw(build default is);
Subroutine BEGIN: called CC=1 SCAR=2.6
7 use Mo::utils::CSS 0.07 qw(check_css_unit);
8 use Mo::utils::URI qw(check_location);
9  
10 our $VERSION = 0.02;
11  
12 has author => (
13 is => 'ro',
14 );
15  
16 has author_url => (
17 is => 'ro',
18 );
19  
20 has copyright_years => (
21 is => 'ro',
22 );
23  
24 has height => (
25 is => 'ro',
26 );
27  
28 has version => (
29 is => 'ro',
30 );
31  
32 has version_url => (
33 is => 'ro',
34 );
35  
36 sub BUILD {
37 my $self = shift;
38  
39 # Check author_url.
40 check_location($self, 'author_url');
41  
42 # Check copyright years.
43 # TODO
44  
45 # Check height.
46 check_css_unit($self, 'height');
47  
48 # Check version_url.
49 check_location($self, 'version_url');
50  
51 return;
52 }
53  
54 1;
55  
56 __END__
↑ Summary