Condition Coverage

blib/lib/MogileFS/Device.pm
Criterion Covered Total %
condition 6 42 14.2


and 3 conditions

line !l l&&!r l&&r condition
34 0 130 0 $$self{'observed_state'} and not $$self{'observed_state'} =~ /^(?:writeable|readable|unreachable)$/
57 0 0 108 $$self{'mb_total'} and defined $$self{'mb_used'}
64 0 0 0 $$self{'mb_total'} and defined $$self{'mb_used'}
94 0 0 52 $host && $host->observed_reachable
100 0 0 52 $$self{'observed_state'} && $$self{'observed_state'} eq 'writeable'
106 0 0 0 $$self{'observed_state'} && $$self{'observed_state'} eq 'readable'
113 0 0 0 $$self{'observed_state'} && $$self{'observed_state'} eq 'unreachable'
130 0 0 0 $_[0]->host->alive && $_[0]->dstate->can_read_from
135 0 0 0 $_[0]->can_read_from && ($_[0]->observed_readable || $_[0]->observed_writeable)
149 0 42 0 $$self{'mb_total'} and $self->mb_free < $min_free
157 0 0 42 $$self{'mb_total'} and defined $$self{'mb_used'}
244 0 0 0 $limit and $limit =~ /^\d+$/
284 0 0 0 $self->dstate->is_perm_dead and $newstate eq 'alive'

or 3 conditions

line l !l&&r !l&&!r condition
191 0 0 0 $self->doesnt_know_mkcol or 'MogileFS::Config'->server_setting_cached('skip_mkcol')