Helper/View/MicroMason.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
↑ Summary View/MicroMason.pm »
1 package Catalyst::Helper::View::MicroMason;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 NAME
6  
7 Catalyst::Helper::View::MicroMason - Helper for MicroMason Views
8  
9 =head1 SYNOPSIS
10  
11 script/create.pl view MicroMason MicroMason
12  
13 =head1 DESCRIPTION
14  
15 Helper for MicroMason 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 Jonas Alves, C<jgda@cpan.org>
37  
38 =head1 MAINTAINER
39  
40 The Catalyst Core Team L<http://www.catalystframework.org/>
41  
42 Jonathan Rockway C<< <jrockway@cpan.org> >>
43  
44 =head1 LICENSE
45  
46 This library is free software . You can redistribute it and/or modify it under
47 the same terms as perl itself.
48  
49 =cut
50  
51 1 1;
52  
53 __DATA__
↑ Summary View/MicroMason.pm »