blib/lib/Catalyst/Helper/View/Mason.pm

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