Condition Coverage

blib/lib/Ado/Plugin.pm
Criterion Covered Total %
condition 13 16 81.2


and 3 conditions

line !l l&&!r l&&r condition
100 96 1 24 not &List::Util::first(sub { $templates_dir eq $_ // ''; } , @{$app->renderer->paths;}) and -d $templates_dir
108 96 2 23 not &List::Util::first(sub { $public_dir eq $_ // ''; } , @{$app->static->paths;}) and -d $public_dir

or 2 conditions

line l !l condition
100 230 0 $templates_dir eq $_ // ''
108 351 0 $public_dir eq $_ // ''

or 3 conditions

line l !l&&r !l&&!r condition
59 142 0 1 eval { do { $config_class->new->load($f, {}, $app) } } || Carp::croak($@)
69 73 125 1 $self->{'config'} //= $self->_get_plugin_config