File Coverage

blib/lib/Bio/FastParsers/Base.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             # ABSTRACT: Internal (base) class for all FastParsers
2             $Bio::FastParsers::Base::VERSION = '0.221230';
3             use Moose;
4 7     7   4829 use namespace::autoclean;
  7         19  
  7         43  
5 7     7   42161  
  7         18  
  7         60  
6             use Bio::FastParsers::Types;
7 7     7   3765  
  7         21  
  7         580  
8              
9             # public attributes
10              
11              
12             has 'file' => (
13             is => 'ro',
14             isa => 'Bio::FastParsers::Types::File',
15             required => 1,
16             coerce => 1,
17             handles => {
18             remove => 'remove',
19             filename => 'stringify',
20             },
21             );
22              
23             # TODO: document and test delegated methods (now done in Bio-MUST-Drivers)
24              
25             __PACKAGE__->meta->make_immutable;
26             1;
27              
28              
29             =pod
30              
31             =head1 NAME
32              
33             Bio::FastParsers::Base - Internal (base) class for all FastParsers
34              
35             =head1 VERSION
36              
37             version 0.221230
38              
39             =head1 DESCRIPTION
40              
41             Nothing to see here.
42              
43             =head1 ATTRIBUTES
44              
45             =head2 file
46              
47             Path to report file to be parsed
48              
49             =head1 AUTHOR
50              
51             Denis BAURAIN <denis.baurain@uliege.be>
52              
53             =head1 COPYRIGHT AND LICENSE
54              
55             This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN.
56              
57             This is free software; you can redistribute it and/or modify it under
58             the same terms as the Perl 5 programming language system itself.
59              
60             =cut