Condition Coverage

blib/lib/Parse/JCONF.pm
Criterion Covered Total %
condition 10 18 55.5


and 3 conditions

line !l l&&!r l&&r condition
43 8 2 51 $offset < $len and $self->_parse_space_and_comments(\$data, \$offset, \$line)
119 7 54 49 $has_data and substr($$data_ref, $$offset_ref, 1) eq ','
135 0 0 14 $has_data and substr($$data_ref, $$offset_ref, 1) eq $ok_if
205 0 18 0 substr($$data_ref, $$offset_ref, $len) eq $constant and $len + $$offset_ref == length $$data_ref || substr($$data_ref, $$offset_ref + $len, 1) =~ /[\s,\]}]/

or 3 conditions

line l !l&&r !l&&!r condition
130 14 0 0 defined $ok_if or $has_data
205 0 18 0 $len + $$offset_ref == length $$data_ref || substr($$data_ref, $$offset_ref + $len, 1) =~ /[\s,\]}]/