Condition Coverage

blib/lib/RSH/ConfigFile.pm
Criterion Covered Total %
condition 23 56 41.0


and 2 conditions

line l !l condition
108 0 0 $args{'no_quotes'} && 1
386 0 0 $val && 1
403 0 0 $val && 1
420 0 0 $val && 1

and 3 conditions

line !l l&&!r l&&r condition
178 0 0 14 defined $key and $key =~ /^\s*'?(.*?)'?\s*$/
179 0 0 14 defined $val and $val =~ /^\s*'?(.*?)'?\s*$/
260 2 0 0 defined $params{'no_follow'} and $params{'no_follow'} eq '1'
265 2 0 0 defined $params{'no_quotes'} and $params{'no_quotes'} eq '1'
270 2 0 0 defined $params{'compact'} and $params{'compact'} eq '1'
326 1 0 1 defined $old_val and $old_val ne $val
485 5 0 33 not /^\s*#.*/ and /(\S*)\s*=\s*(\S*)/
547 4 0 0 defined $filename and $filename ne $self->get_hash_val('filename')
622 0 1 1 defined $self->get_hash_val('file_md5') and $self->get_hash_val('file_md5') ne $orig_md5
635 5 0 22 not /^\s*#.*/ and /(\S*)\s*=\s*(\S*)/
639 1 1 4 defined $temp and not $temp =~ /^\s*#.*/
648 0 0 22 defined $key and defined $$self{$key}

or 3 conditions

line l !l&&r !l&&!r condition
114 0 0 44 $args{'no_quotes'} or $contents[$i] =~ /^'.*'$/
127 0 0 24 $args{'no_quotes'} or $val =~ /^'.*'$/
137 0 0 32 $args{'no_quotes'} or $value =~ /^'.*'$/
550 1 0 3 $self->is_dirty or $params{'force'}