blib/lib/DB/Introspector/Base/IntegerColumn.pm

filter: Statementstmt 36.8% 7 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 40.0% 2 / 5 Podpod 33.3% 1 / 3 totaltotal 37.0% 10 / 27 CC 1 SCAR 4.7
CC
1
Cov
37%
new
2.0
min
2.0
max
2.0
CRAP 1.6
« blib/lib/DB/Introspector/Oracle/TypeMapper.pm ↑ Summary blib/lib/DB/Introspector/Base/StringColumn.pm »
1 package DB::Introspector::Base::IntegerColumn;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use base q(DB::Introspector::Base::Column);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
8 0 my $class = shift;
9 0 my $name = shift;
10  
11 0 my $min = shift;
12 0 my $max = shift;
13  
14 0 my $self = $class->SUPER::new($name);
15 0 $self->{_min} = $min;
16 0 $self->{_max} = $max;
17  
18 0 return $self;
19 }
20  
21 0 ▶sub min {
Subroutine min: not called CC=1 SCAR=6.9
Pod undocumented
22 0 my $self = shift;
23 0 return $self->{_min};
24 }
25  
26 0 ▶sub max {
Subroutine max: not called CC=1 SCAR=6.9
Pod undocumented
27 0 my $self = shift;
28 0 return $self->{_max};
29 }
30  
31 1 1;
32 __END__
« blib/lib/DB/Introspector/Oracle/TypeMapper.pm ↑ Summary blib/lib/DB/Introspector/Base/StringColumn.pm »