Helper/View/TT/Layout.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/TT/Layout.pm ↑ Summary
1 package Catalyst::Helper::View::TT::Layout;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 NAME
6  
7 Catalyst::Helper::View::TT::Layout - Helper for Layout TT Views
8  
9 =head1 SYNOPSIS
10  
11 script/create.pl view TT::Layout TT
12  
13 =head1 DESCRIPTION
14  
15 Helper for Layout TT 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::View::TT>, L<Catalyst::Helper>, L<Catalyst>
32  
33 =head1 AUTHOR
34  
35 Marcus Ramberg, C<mramberg@cpan.org>
36  
37 =head1 LICENSE
38  
39 This library is free software . You can redistribute it and/or modify it
40 under the same terms as perl itself.
41  
42 =cut
43  
44 1 1;
45  
46 __DATA__
« View/TT/Layout.pm ↑ Summary