Helper/View/HTML/Template.pm

filter: Statementstmt 57.1% 4 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 100% 1 / 1 totaltotal 60.0% 6 / 10 CC 1 SCAR 4.1
CC
1
Cov
57%
mk_compclass
2.0
BEGIN
1.0
CRAP 1.5
« View/HTML/Template.pm ↑ Summary
1 package Catalyst::Helper::View::HTML::Template;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 NAME
6  
7 Catalyst::Helper::View::HTML::Template - Helper for HTML::Template Views
8  
9 =head1 SYNOPSIS
10  
11 script/create.pl view HTML::Template HTML::Template
12  
13 =head1 DESCRIPTION
14  
15 Helper for HTML::Template Views.
16  
17 =head2 METHODS
18  
19 =head3 mk_compclass
20  
21 =cut
22  
23 0 ▶sub mk_compclass {
Subroutine mk_compclass: not called CC=1 SCAR=6.9
Pod documented
24 0 my ( $self, $helper ) = @_;
25 0 my $file = $helper->{file};
26 0 $helper->render_file( 'compclass', $file );
27 }
28  
29 =head1 SEE ALSO
30  
31 L<Catalyst::Manual>, L<Catalyst::Test>, L<Catalyst::Request>,
32 L<Catalyst::Response>, L<Catalyst::Helper>
33  
34 =head1 AUTHOR
35  
36 Sebastian Riedel, C<sri@oook.de>
37  
38 =head1 LICENSE
39  
40 This library is free software . You can redistribute it and/or modify it under
41 the same terms as perl itself.
42  
43 =cut
44  
45 1 1;
46  
47 __DATA__
« View/HTML/Template.pm ↑ Summary