File Coverage

blib/lib/Database/Async/ORM/Extension.pm
Criterion Covered Total %
statement 6 13 46.1
branch 0 2 0.0
condition n/a
subroutine 2 8 25.0
pod 0 6 0.0
total 8 29 27.5


line stmt bran cond sub pod time code
1             package Database::Async::ORM::Extension;
2              
3 2     2   192343 use strict;
  2         4  
  2         61  
4 2     2   6 use warnings;
  2         3  
  2         340  
5              
6             our $VERSION = '0.019'; # VERSION
7              
8             sub new {
9 0     0 0   my ($class) = shift;
10 0           bless { @_ }, $class
11             }
12              
13 0     0 0   sub name { shift->{name} }
14 0     0 0   sub defined_in { shift->{defined_in} }
15 0     0 0   sub description { shift->{description} }
16 0     0 0   sub optional { shift->{optional} }
17 0 0   0 0   sub is_optional { shift->{optional} ? 1 : 0 }
18              
19             1;
20