File Coverage

blib/lib/ACME/QuoteDB/DB/Category.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             #$Id: Category.pm,v 1.7 2009/09/30 07:37:09 dinosau2 Exp $
2             # /* vim:et: set ts=4 sw=4 sts=4 tw=78: */
3              
4             package ACME::QuoteDB::DB::Category;
5 7     7   4925 use base 'ACME::QuoteDB::DB::DBI';
  7         55  
  7         649  
6              
7 7     7   145 use 5.008005; # require perl 5.8.5, re: DBD::SQLite Unicode
  7         24  
  7         265  
8 7     7   39 use warnings;
  7         235  
  7         209  
9 7     7   39 use strict;
  7         14  
  7         243  
10              
11             #use criticism 'brutal'; # use critic with a ~/.perlcriticrc
12              
13 7     7   44 use version; our $VERSION = qv('0.1.0');
  7         21  
  7         48  
14             ACME::QuoteDB::DB::Category->table('category');
15             ACME::QuoteDB::DB::Category->columns(All => qw/catg_id catg/);
16             ACME::QuoteDB::DB::Category->has_many(quote => 'ACME::QuoteDB::DB::Quote');
17              
18             1;
19              
20             __END__