File Coverage

blib/lib/Database/Async/ORM/Field.pm
Criterion Covered Total %
statement 6 14 42.8
branch n/a
condition n/a
subroutine 2 9 22.2
pod 0 7 0.0
total 8 30 26.6


line stmt bran cond sub pod time code
1             package Database::Async::ORM::Field;
2              
3 2     2   256180 use strict;
  2         5  
  2         74  
4 2     2   8 use warnings;
  2         5  
  2         493  
5              
6             our $VERSION = '0.019'; # VERSION
7              
8             sub new {
9 0     0 0   my ($class, %args) = @_;
10 0           bless \%args, $class
11             }
12              
13 0     0 0   sub table { shift->{table} }
14 0     0 0   sub name { shift->{name} }
15 0     0 0   sub attributes { shift->{attributes} }
16 0     0 0   sub type { shift->{type} }
17 0     0 0   sub nullable { shift->{nullable} }
18 0     0 0   sub default { shift->{default} }
19              
20             1;
21