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