Helper/View/RRDGraph.pm

filter: Statementstmt 75.0% 9 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 75.0% 12 / 16 CC 1 SCAR 2.9
CC
1
Cov
75%
mk_compclass
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« View/RRDGraph.pm ↑ Summary
1 package Catalyst::Helper::View::RRDGraph;
2 {
3 1 $Catalyst::Helper::View::RRDGraph::VERSION = '0.10';
4 }
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 =head1 NAME
10  
11 Catalyst::Helper::View::RRDGraph - Helper for RRDGraph Views
12  
13 =head1 SYNOPSIS
14  
15 script/create.pl view RRDGraph RRDGraph
16  
17 =head1 DESCRIPTION
18  
19 Helper for RRDGraph Views.
20  
21 =head2 METHODS
22  
23 =head3 mk_compclass
24  
25 =cut
26  
27 0 ▶sub mk_compclass {
Subroutine mk_compclass: not called CC=1 SCAR=6.9
Pod documented
28 0 my ( $self, $helper ) = @_;
29 0 my $file = $helper->{file};
30 0 $helper->render_file( 'compclass', $file );
31 }
32  
33 =head1 SEE ALSO
34  
35 L<Catalyst::Manual>, L<Catalyst::Test>, L<Catalyst::Request>,
36 L<Catalyst::Response>, L<Catalyst::Helper>
37  
38 =head1 AUTHOR
39  
40 Jose Luis Martinez Torres, C<jlmartinez@capside.com>
41  
42 This helper was based, to not say ripped off of Catalyst::View::TT
43  
44 =head1 LICENSE
45  
46 This library is free software . You can redistribute it and/or modify
47 it under the same terms as perl itself.
48  
49 =cut
50  
51 1 1;
52  
53 __DATA__
« View/RRDGraph.pm ↑ Summary