Helper/Model/DBIC/Plain.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond 0.0% 0 / 6 MC/DCmcdc 0.0% 0 / 3 Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
mk_compclass
2.0
BEGIN
2.0
CRAP 2.0
1 package Catalyst::Helper::Model::DBIC::Plain;
2  
3 use strict;
4  
5 =head1 NAME
6  
7 Catalyst::Helper::Model::DBIC::Plain - Helper for DBIC Plain Model
8  
9 =head1 SYNOPSIS
10  
11 script/create.pl model DBIC DBIC::Plain dsn user password
12  
13 =head1 DESCRIPTION
14  
15 Helper for the DBIC Plain Model.
16  
17 =head2 METHODS
18  
19 =head3 mk_compclass
20  
21 =cut
22  
23 sub mk_compclass {
24 my ( $self, $helper, $dsn, $user, $pass ) = @_;
25 $helper->{dsn} = $dsn || '';
26 $helper->{user} = $user || '';
27 $helper->{pass} = $pass || '';
28 my $file = $helper->{file};
29 $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 Danijel Milicevic, C<info@danijel.de>
40  
41 =head1 THANK YOU
42  
43 Andy Grundman
44  
45 =head1 LICENSE
46  
47 This library is free software . You can redistribute it and/or modify
48 it under the same terms as perl itself.
49  
50 =cut
51  
52 1;
53  
54 __DATA__