| blib/lib/MojoX/Linda.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 17 | 17.6 |
| line | l | !l | condition |
|---|---|---|---|
| 67 | 0 | 0 | $ENV{'MOJO_MODE'} // ">Undefined<" |
| 68 | 0 | 0 | $ENV{'MOJO_MORBO_BACKEND'} // ">Undefined<" |
| 69 | 0 | 0 | join(', ', @{$conf->{'listen'}}) || '>Unspecified<' |
| 70 | 0 | 0 | join(', ', @{$conf->{'watch'}}) || '>Unspecified<' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 19 | 0 | 0 | 4 | $conf->{$_} //= $mojo_linda->{$_} |
| 20 | 0 | 0 | 1 | $ARGV[0] || do { my $match; foreach my $file (@{path('.')->list_tree->to_array}) { next unless -x $file; if ($file->slurp =~ /\b( Mojolicious::Commands\s*\-\s*>\s*start_app| MojoX::ConfigAppStart\s*\-\s*>\s*start )\b/ux) { $match = $file->to_string; last; }; }; $match } |
| 0 | 0 | 1 | $conf->{'app'} //= $ARGV[0] || do { my $match; foreach my $file (@{path('.')->list_tree->to_array}) { next unless -x $file; if ($file->slurp =~ /\b( Mojolicious::Commands\s*\-\s*>\s*start_app| MojoX::ConfigAppStart\s*\-\s*>\s*start )\b/ux) { $match = $file->to_string; last; }; }; $match } |