| blib/lib/App/Env/_Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 22 | 90.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 108 | 2 | 5 | 22 | not exists $ENV{'APP_ENV_SITE'} and existsModule("App::Env::Site") |
| 114 | 5 | 1 | 23 | defined $ENV{'APP_ENV_SITE'} && length $ENV{'APP_ENV_SITE'} |
| line | l | !l | condition |
|---|---|---|---|
| 172 | 6 | 89 | $par{'app_opts'} //= {} |
| 173 | 6 | 89 | $par{'loop'} //= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 109 | 22 | 0 | 0 | eval { do { require App::Env::Site; 1 } } // croak(ref $@ ? $@ : "Error loading App::Env::Site: $@\n") |
| 127 | 1 | 2 | 14 | not defined $site or $site eq "" |
| 157 | 2 | 2 | 8 | not ref $_[0] or "ARRAY" eq ref $_[0] |
| 4 | 6 | 2 | not ref $_[0] or "ARRAY" eq ref $_[0] or "Regexp" eq ref $_[0] |