File Coverage

lib/SQL/Admin/Catalog/Index.pm
Criterion Covered Total %
statement 18 24 75.0
branch 6 10 60.0
condition n/a
subroutine 6 8 75.0
pod 0 5 0.0
total 30 47 63.8


line stmt bran cond sub pod time code
1              
2             package SQL::Admin::Catalog::Index;
3 2     2   1315 use base qw( SQL::Admin::Catalog::Object );
  2         4  
  2         1972  
4              
5 2     2   37 use strict;
  2         4  
  2         80  
6 2     2   11 use warnings;
  2         4  
  2         457  
7              
8             our $VERSION = v0.5.0;
9              
10             ######################################################################
11             ######################################################################
12             sub unique { # ;
13 3     3 0 5 my $self = shift;
14 3 100       10 $self->{unique} = shift if @_;
15 3         11 $self->{unique};
16             }
17              
18              
19             ######################################################################
20             ######################################################################
21             sub table { # ;
22 4     4 0 5 my $self = shift;
23 4 100       13 $self->{table} = shift if @_;
24 4         9 $self->{table};
25             }
26              
27              
28             ######################################################################
29             ######################################################################
30             sub column_list { # ;
31 4     4 0 5 my $self = shift;
32 4 100       12 $self->{column_list} = shift if @_;
33 4         19 $self->{column_list};
34             }
35              
36              
37             ######################################################################
38             ######################################################################
39             sub include_column_list { # ;
40 0     0 0   my $self = shift;
41 0 0         $self->{include_column_list} = shift if @_;
42 0           $self->{include_column_list};
43             }
44              
45              
46             ######################################################################
47             ######################################################################
48             sub where { # ;
49 0     0 0   my $self = shift;
50 0 0         $self->{where} = shift if @_;
51 0           $self->{where};
52             }
53              
54              
55             ######################################################################
56             ######################################################################
57              
58             package SQL::Admin::Catalog::Index;
59              
60             1;
61