File Coverage

blib/lib/Bio/ToolBox/db_helper/constants.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Bio::ToolBox::db_helper::constants;
2              
3             # modules
4             require Exporter;
5 3     3   16 use strict;
  3         5  
  3         93  
6             use constant {
7 3         417 CHR => 0, # chromosome
8             STRT => 1, # start
9             STOP => 2, # stop
10             STR => 3, # strand
11             STND => 4, # strandedness
12             METH => 5, # method
13             RETT => 6, # return type
14             DB => 7, # database object
15             DATA => 8, # first dataset, additional may be present
16 3     3   19 };
  3         11  
17              
18             our @ISA = qw(Exporter);
19             our @EXPORT = qw(CHR STRT STOP STR STND METH RETT DB DATA);
20              
21             # The true statement
22             1;
23              
24             __END__