Condition Coverage

blib/lib/Gantry/Conf.pm
Criterion Covered Total %
condition 13 25 52.0


and 3 conditions

line !l l&&!r l&&r condition
87 1 0 16 defined $params and ref $params eq 'HASH'
205 8 0 3 $shares and not ref $shares
8 0 0 $shares and ref $shares eq 'ARRAY'

or 2 conditions

line l !l condition
97 15 0 $$params{'config_file'} || '/etc/gantry.conf'
271 15 0 shift() || 0
360 1 7 $$self{'__config__'} ||= {}
412 0 0 $$self{'__config__'} ||= {}
450 0 5 $$self{'__config__'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
147 1 13 0 not %main_config or $reload_config
285 14 0 0 $ro or -w $file