File Coverage

lib/SQL/Admin/Catalog/Sequence.pm
Criterion Covered Total %
statement 27 30 90.0
branch 11 14 78.5
condition n/a
subroutine 9 10 90.0
pod 0 7 0.0
total 47 61 77.0


line stmt bran cond sub pod time code
1              
2             package SQL::Admin::Catalog::Sequence;
3 2     2   1042 use base qw( SQL::Admin::Catalog::Object );
  2         3  
  2         155  
4              
5 2     2   14 use strict;
  2         4  
  2         60  
6 2     2   9 use warnings;
  2         3  
  2         670  
7              
8             our $VERSION = v0.5.0;
9              
10             ######################################################################
11             ######################################################################
12             sub type { # ;
13 1     1 0 1 my $self = shift;
14 1 50       13 $self->{type} = shift if @_;
15 1         3 $self->{type};
16             }
17              
18              
19             ######################################################################
20             ######################################################################
21             sub start_with { # ;
22 2     2 0 4 my $self = shift;
23 2 100       7 $self->{start_with} = shift if @_;
24 2         8 $self->{start_with};
25             }
26              
27              
28             ######################################################################
29             ######################################################################
30             sub increment_by { # ;
31 2     2 0 5 my $self = shift;
32 2 100       15 $self->{increment_by} = shift if @_;
33 2         10 $self->{increment_by};
34             }
35              
36              
37             ######################################################################
38             ######################################################################
39             sub minvalue { # ;
40 2     2 0 4 my $self = shift;
41 2 100       8 $self->{minvalue} = shift if @_;
42 2         10 $self->{minvalue};
43             }
44              
45              
46             ######################################################################
47             ######################################################################
48             sub maxvalue { # ;
49 2     2 0 4 my $self = shift;
50 2 100       7 $self->{maxvalue} = shift if @_;
51 2         9 $self->{maxvalue};
52             }
53              
54              
55             ######################################################################
56             ######################################################################
57             sub cache { # ;
58 2     2 0 4 my $self = shift;
59 2 100       14 $self->{cache} = shift if @_;
60 2         7 $self->{cache};
61             }
62              
63              
64             ######################################################################
65             ######################################################################
66             sub owner { # ;
67 0     0 0   my $self = shift;
68 0 0         $self->{owner} = shift if @_;
69 0           $self->{owner};
70             }
71              
72              
73             ######################################################################
74             ######################################################################
75              
76             package SQL::Admin::Catalog::Sequence;
77              
78             1;
79