Condition Coverage

blib/lib/Log/Delimited.pm
Criterion Covered Total %
condition 13 39 33.3


and 3 conditions

line !l l&&!r l&&r condition
80 11 0 2 /_dir$/ and $$self{$_} =~ m[^/]
89 0 0 1 ref $$self{'log_cols'} eq 'ARRAY' and not $$self{'cols_string'}
103 0 0 2 ref $ref and ref $ref eq 'ARRAY'
112 0 0 2 ref $ref and ref $ref eq 'ARRAY'
117 0 0 12 defined $_ and length $_
118 12 0 0 ref $_ and ref $_ eq 'HASH'

or 3 conditions

line l !l&&r !l&&!r condition
45 0 0 0 $0 =~ m[.*/(.+)] || $0
70 0 1 0 $$self{'log_dir'} ||= "$$self{'base_dir'}/$$self{'log_node'}"
71 0 1 0 $$self{'log_filename'} ||= "$$self{'log_dir'}/$$self{'log_name'}"
72 0 1 0 $$self{'zip_filename'} ||= "$$self{'log_dir'}/$$self{'log_name'}.gz"
90 0 0 1 $$self{'unshifted_hostname'} or $$self{'no_hostname'}
91 0 0 1 $$self{'unshifted_pid'} or $$self{'no_pid'}
92 0 0 1 $$self{'unshifted_time'} or $$self{'no_time'}