| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Enbld::Target::Attribute::CommandMake; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 1 |  |  | 1 |  | 2030 | use strict; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 37 |  | 
| 4 | 1 |  |  | 1 |  | 4 | use warnings; | 
|  | 1 |  |  |  |  | 1 |  | 
|  | 1 |  |  |  |  | 27 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 | 1 |  |  | 1 |  | 4 | use parent qw/Enbld::Target::AttributeExtension::Command/; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 4 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | sub initialize { | 
| 9 | 46 |  |  | 46 | 0 | 110 | my ( $self, $param ) = @_; | 
| 10 |  |  |  |  |  |  |  | 
| 11 | 46 | 50 |  |  |  | 163 | if ( ! defined $param ) { | 
| 12 |  |  |  |  |  |  |  | 
| 13 | 46 |  |  |  |  | 212 | $self->{value} = $self->make_command; | 
| 14 | 46 |  |  |  |  | 101 | $self->{is_evaluated}++; | 
| 15 |  |  |  |  |  |  |  | 
| 16 | 46 |  |  |  |  | 101 | return $self; | 
| 17 |  |  |  |  |  |  | } | 
| 18 |  |  |  |  |  |  |  | 
| 19 | 0 | 0 |  |  |  | 0 | if ( $param ) { | 
| 20 | 0 |  |  |  |  | 0 | $self->SUPER::initialize( $param ); | 
| 21 | 0 |  |  |  |  | 0 | return $self; | 
| 22 |  |  |  |  |  |  | } | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | # empty string is valid. | 
| 25 | 0 |  |  |  |  | 0 | $self->{is_evaluated}++; | 
| 26 |  |  |  |  |  |  | } | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | sub validate { | 
| 29 | 56 |  |  | 56 | 0 | 106 | my ( $self, $string ) = @_; | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | # nothing check now. | 
| 32 |  |  |  |  |  |  |  | 
| 33 | 56 |  |  |  |  | 119 | return $string; | 
| 34 |  |  |  |  |  |  | } | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | 1; |