File Coverage

blib/lib/Data/Frame/Rlike.pm
Criterion Covered Total %
statement 10 12 83.3
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 16 87.5


line stmt bran cond sub pod time code
1             package Data::Frame::Rlike;
2             $Data::Frame::Rlike::VERSION = '0.003';
3 2     2   130337 use strict;
  2         6  
  2         82  
4 2     2   11 use warnings;
  2         5  
  2         126  
5 2     2   14 use Exporter 'import';
  2         3  
  2         106  
6             our @EXPORT = qw(dataframe factor);
7              
8 2     2   880 use Data::Frame;
  0            
  0            
9             use PDL::Factor;
10              
11             our $_df_rlike_class = Moo::Role->create_class_with_roles( 'Data::Frame',
12             qw(Data::Frame::Role::Rlike));
13              
14             sub dataframe {
15             $_df_rlike_class->new( columns => \@_ );
16             }
17              
18             sub factor {
19             PDL::Factor->new(@_);
20             }
21              
22             1;
23              
24             __END__
25              
26             =pod
27              
28             =encoding UTF-8
29              
30             =head1 NAME
31              
32             Data::Frame::Rlike
33              
34             =head1 VERSION
35              
36             version 0.003
37              
38             =head1 AUTHOR
39              
40             Zakariyya Mughal <zmughal@cpan.org>
41              
42             =head1 COPYRIGHT AND LICENSE
43              
44             This software is copyright (c) 2014 by Zakariyya Mughal.
45              
46             This is free software; you can redistribute it and/or modify it under
47             the same terms as the Perl 5 programming language system itself.
48              
49             =cut