blib/lib/WebDAO/Lib/RawHTML.pm

filter: Statementstmt 75.0% 15 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 2 totaltotal 67.8% 19 / 28 CC 1 SCAR 2.9
CC
1
Cov
75%
init
2.0
fetch
2.0
BEGIN
1.0
CRAP 1.3
« blib/lib/WebDAO/Lib/MethodByPath.pm ↑ Summary blib/lib/WebDAO/SessionSH.pm »
1 package WebDAO::Lib::RawHTML;
2 #$Id$
3  
4 =head1 NAME
5  
6 WebDAO::Lib::RawHTML - Component for raw html
7  
8 =head1 SYNOPSIS
9  
10 =head1 DESCRIPTION
11  
12 WebDAO::Lib::RawHTML - Component for raw html
13  
14 =cut
15  
16 5 our $VERSION = '0.01';
17 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 5 ▶use WebDAO::Base;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 5 ▶use base qw(WebDAO);
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 5 __PACKAGE__->mk_attr(_raw_html=>undef);
23  
24 sub init {
25 0 ▶ my ($self,$ref_raw_html)=@_;
Subroutine init: not called CC=1 SCAR=6.9
Pod undocumented
26 0 _raw_html $self $ref_raw_html;
27 }
28  
29 sub fetch {
30 0 ▶ my $self=shift;
Subroutine fetch: not called CC=1 SCAR=6.9
Pod undocumented
31 0 return ${$self->_raw_html};
32 }
33  
34 5 1;
35 __DATA__
36  
37 =head1 SEE ALSO
38  
39 http://sourceforge.net/projects/webdao
40  
41 =head1 AUTHOR
42  
43 Zahatski Aliaksandr, E<lt>zag@cpan.orgE<gt>
44  
45 =head1 COPYRIGHT AND LICENSE
46  
47 Copyright 2002-2014 by Zahatski Aliaksandr
48  
49 This library is free software; you can redistribute it and/or modify
50 it under the same terms as Perl itself.
51  
52 =cut
« blib/lib/WebDAO/Lib/MethodByPath.pm ↑ Summary blib/lib/WebDAO/SessionSH.pm »