File Coverage

gen/attr-PerlBean_Dependency.pl
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1 1     1   5 use strict;
  1         1  
  1         93  
2              
3             push(@::bean_desc, {
4             bean_opt => {
5             abstract => 'Dependency (use, require or import) in a Perl bean',
6             package => 'PerlBean::Dependency',
7             use_perl_version => 5.005,
8             description => <
9             C is an abstract class to express dependencies to classes/modules/files in a C.
10             EOF
11             short_description => 'Dependency in a Perl bean',
12             synopsis => "None, this is an abstract class.\n",
13             },
14             attr_opt => [
15             {
16             method_factory_name => 'dependency_name',
17             short_description => 'the dependency name',
18             allow_rx => [ qw( ^.*[a-zA-Z].*$) ],
19             },
20             {
21             method_factory_name => 'volatile',
22             type => 'BOOLEAN',
23             short_description => 'the dependency is volatile',
24             },
25             ],
26             meth_opt => [
27             {
28             method_name => 'write',
29             interface => 1,
30             parameter_description => 'FILEHANDLE',
31             description => <
32             Writes code for the dependency. C is an C object.
33             EOF
34             },
35             ],
36             } );
37              
38             1;