| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Enbld::Target::Attribute::TestAction; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 1 |  |  | 1 |  | 18395 | use strict; | 
|  | 1 |  |  |  |  | 5 |  | 
|  | 1 |  |  |  |  | 42 |  | 
| 4 | 1 |  |  | 1 |  | 6 | use warnings; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 35 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 | 1 |  |  | 1 |  | 6 | use Carp; | 
|  | 1 |  |  |  |  | 3 |  | 
|  | 1 |  |  |  |  | 98 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 | 1 |  |  | 1 |  | 6 | use parent qw/Enbld::Target::AttributeExtension::Command/; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 9 |  | 
| 9 |  |  |  |  |  |  |  | 
| 10 |  |  |  |  |  |  | sub initialize { | 
| 11 | 46 |  |  | 46 | 0 | 143 | my ( $self, $param ) = @_; | 
| 12 |  |  |  |  |  |  |  | 
| 13 | 46 | 100 |  |  |  | 145 | if ( ! defined $param ) { | 
| 14 | 1 |  |  |  |  | 7 | $self->{value} = 'check'; | 
| 15 | 1 |  |  |  |  | 6 | $self->{is_evaluated}++; | 
| 16 |  |  |  |  |  |  |  | 
| 17 | 1 |  |  |  |  | 9 | return $self; | 
| 18 |  |  |  |  |  |  | } | 
| 19 |  |  |  |  |  |  |  | 
| 20 | 45 | 50 |  |  |  | 133 | if ( $param ) { | 
| 21 | 45 |  |  |  |  | 237 | $self->SUPER::initialize( $param ); | 
| 22 | 45 |  |  |  |  | 114 | return $self; | 
| 23 |  |  |  |  |  |  | } | 
| 24 |  |  |  |  |  |  |  | 
| 25 | 0 |  |  |  |  |  | require Enbld::Exception; | 
| 26 | 0 |  |  |  |  |  | croak( Enbld::Exception->new( "Attribute 'TestAction' isn't defined" ) ); | 
| 27 |  |  |  |  |  |  | } | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  | 1; |