blib/lib/Applify.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 30 | 70.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
120 | 24 | 0 | 1 | $args{'alias'} and not ref $args{'alias'} |
211 | 5 | 21 | 0 | $option->{'default'} and ref $option->{'default'} ne 'ARRAY' |
283 | 12 | 0 | 0 | $application_class->isa('Moose::Object') and $application_class->can('meta') |
334 | 89 | 8 | 2 | $print and /^=(?:cut|head1)/ |
line | l | !l | condition |
---|---|---|---|
99 | 0 | 11 | $self->{'options'} ||= [] |
213 | 21 | 5 | $option->{'default'} ||= [] |
239 | 1 | 11 | $self->{'extends'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
16 | 17 | 11 | 0 | $self->{'app'} ||= shift() |
44 | 17 | 11 | 0 | $self->{'application_class'} ||= $self->_generate_application_class($code) |
82 | 2 | 53 | 0 | $args{$k} // $k |
308 | 19 | 11 | 0 | $_[0]{'_option_parser'} ||= do { require Getopt::Long; 'Getopt::Long::Parser'->new('config', ['no_auto_help', 'no_auto_version', 'pass_through']) } |