blib/lib/MogileFS/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 32 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
118 | 0 | 0 | 0 | not $config and -r $DEFAULT_CONFIG |
121 | 0 | 0 | 0 | $config and not $skipconfig |
226 | 0 | 0 | 0 | $sto and $sto->ping |
292 | 0 | 0 | 0 | not $has_cached_settings and $fallback |
line | l | !l | condition |
---|---|---|---|
166 | 0 | 0 | $ENV{'DEBUG'} || 0 |
197 | 0 | 0 | $cmdline{'listen'} || $cfgfile{'listen'} || ['0.0.0.0'] |
239 | 0 | 0 | 'MogileFS::Config'->server_setting('schema_version') || 0 |
308 | 0 | 0 | 'MogileFS::Config'->server_setting_cached('memcache_servers') || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
154 | 0 | 0 | 0 | choose_value('listener_jobs', undef) || choose_value('query_jobs', 20) |
241 | 0 | 0 | 0 | $sversion == $expect_ver or 'MogileFS::Config'->config('no_schema_check') |
313 | 0 | 0 | 0 | $memc ||= 'Cache::Memcached'->new |
321 | 0 | 0 | 0 | $cache_hostname ||= Sys::Hostname::hostname() |