RDBMS/ContentProvider.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
init
2.0
getContent
2.0
CRAP 2.0
1 package Apache::AxKit::Provider::RDBMS::ContentProvider;
2  
3 use strict;
4  
5 sub new {
6 my $class = shift;
7 my $this = { apache => shift };
8
9 bless $this, $class;
10
11 $this->init();
12
13 return $this;
14 }
15  
16 sub init {
17 }
18  
19 sub getContent {
20 throw Apache::AxKit::Exception::Error( -text => "subclasses must implement this method" );
21 }
22  
23 1;