File Coverage

lib/ElasticSearchX/Model/Generator/Generated/Attribute.pm
Criterion Covered Total %
statement 11 13 84.6
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 16 18 88.8


line stmt bran cond sub pod time code
1 1     1   1097 use strict;
  1         1  
  1         40  
2 1     1   6 use warnings;
  1         1  
  1         62  
3              
4             package ElasticSearchX::Model::Generator::Generated::Attribute;
5             BEGIN {
6 1     1   32 $ElasticSearchX::Model::Generator::Generated::Attribute::AUTHORITY = 'cpan:KENTNL';
7             }
8             {
9             $ElasticSearchX::Model::Generator::Generated::Attribute::VERSION = '0.1.8';
10             }
11              
12             # ABSTRACT: Result container for a generated attribute
13              
14 1     1   1208 use Moo;
  1         26115  
  1         7  
15 1     1   1963 use MooseX::Has::Sugar qw( rw required );
  0            
  0            
16              
17              
18             has content => rw, required;
19              
20             no Moo;
21              
22             1;
23              
24             __END__
25              
26             =pod
27              
28             =encoding UTF-8
29              
30             =head1 NAME
31              
32             ElasticSearchX::Model::Generator::Generated::Attribute - Result container for a generated attribute
33              
34             =head1 VERSION
35              
36             version 0.1.8
37              
38             =head1 ATTRIBUTES
39              
40             =head2 content
41              
42             rw, required
43              
44             =head1 AUTHOR
45              
46             Kent Fredric <kentfredric@gmail.com>
47              
48             =head1 COPYRIGHT AND LICENSE
49              
50             This software is copyright (c) 2013 by Kent Fredric <kentfredric@gmail.com>.
51              
52             This is free software; you can redistribute it and/or modify it under
53             the same terms as the Perl 5 programming language system itself.
54              
55             =cut