| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Enbld::Target::Attribute::Prefix; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 2 |  |  | 2 |  | 6409 | use strict; | 
|  | 2 |  |  |  |  | 6 |  | 
|  | 2 |  |  |  |  | 88 |  | 
| 4 | 2 |  |  | 2 |  | 10 | use warnings; | 
|  | 2 |  |  |  |  | 4 |  | 
|  | 2 |  |  |  |  | 56 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 | 2 |  |  | 2 |  | 11 | use Carp; | 
|  | 2 |  |  |  |  | 4 |  | 
|  | 2 |  |  |  |  | 157 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 | 2 |  |  | 2 |  | 875 | use parent qw/Enbld::Target::AttributeExtension::Word/; | 
|  | 2 |  |  |  |  | 362 |  | 
|  | 2 |  |  |  |  | 15 |  | 
| 9 |  |  |  |  |  |  |  | 
| 10 |  |  |  |  |  |  | sub initialize { | 
| 11 | 53 |  |  | 53 | 0 | 206 | my ( $self, $param ) = @_; | 
| 12 |  |  |  |  |  |  |  | 
| 13 | 53 | 100 |  |  |  | 240 | if ( ! defined $param ) { | 
| 14 | 47 |  |  |  |  | 192 | $self->{value} = '--prefix='; | 
| 15 | 47 |  |  |  |  | 121 | $self->{is_evaluated}++; | 
| 16 |  |  |  |  |  |  |  | 
| 17 | 47 |  |  |  |  | 124 | return $self; | 
| 18 |  |  |  |  |  |  | } | 
| 19 |  |  |  |  |  |  |  | 
| 20 | 6 | 100 |  |  |  | 16 | if ( $param ) { | 
| 21 | 5 |  |  |  |  | 35 | $self->SUPER::initialize( $param ); | 
| 22 | 5 |  |  |  |  | 11 | return $self; | 
| 23 |  |  |  |  |  |  | } | 
| 24 |  |  |  |  |  |  |  | 
| 25 | 1 |  |  |  |  | 5 | require Enbld::Exception; | 
| 26 | 1 |  |  |  |  | 7 | croak( Enbld::Exception->new( "Attribute 'Prefix' isn't defined" ) ); | 
| 27 |  |  |  |  |  |  | } | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  | 1; |