| gen/syn-PerlBean_Attribute_Boolean.pl | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 6 | 6 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 2 | 100.0 |
| pod | n/a | ||
| total | 8 | 8 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 612 | use strict; | |||
| 1 | 1 | ||||||
| 1 | 39 | ||||||
| 2 | 1 | 1 | 486 | use PerlBean::Attribute::Boolean; | |||
| 1 | 3 | ||||||
| 1 | 56 | ||||||
| 3 | my $attr = PerlBean::Attribute::Boolean->new( { | ||||||
| 4 | method_factory_name => 'true', | ||||||
| 5 | short_description => 'something is true', | ||||||
| 6 | } ); | ||||||
| 7 | 1; |