blib/lib/Class/ReluctantORM/SchemaCache/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 13 | 69.2 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 18 | 66.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Class::ReluctantORM::SchemaCache::Simple; | ||||||
2 | 1 | 1 | 6 | use strict; | |||
1 | 2 | ||||||
1 | 34 | ||||||
3 | 1 | 1 | 365 | use warnings; | |||
1 | 2 | ||||||
1 | 33 | ||||||
4 | 1 | 1 | 6 | use base 'Class::ReluctantORM::SchemaCache'; | |||
1 | 11 | ||||||
1 | 155 | ||||||
5 | |||||||
6 | our $DEBUG = 0; | ||||||
7 | |||||||
8 | sub new { | ||||||
9 | 0 | 0 | 0 | my $class = shift; | |||
10 | 0 | my $self = bless {}, $class; | |||||
11 | 0 | $self->read_cache_file(); | |||||
12 | 0 | return $self; | |||||
13 | } | ||||||
14 | |||||||
15 | |||||||
16 | |||||||
17 | 1; |