Condition Coverage

lib/CGI/FormBuilder/Source/File.pm
Criterion Covered Total %
condition 22 41 53.6


and 3 conditions

line !l l&&!r l&&r condition
81 214 0 0 $term eq "charset" and $line =~ /^utf/
113 51 127 33 $s >= $psp and $inval
178 32 1 $s >= $psp and $inval and not length $line

or 2 conditions

line l !l condition
188 0 81 $ptr->{$term} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
39 0 23 0 ref $mod || $mod
47 0 23 0 shift() || $self->{'source'}
49 0 0 23 $CGI::FormBuilder::Util::DEBUG ||= $self->{'debug'}
77 19 6 214 /^\s*$/ or /^\s*#/
107 24 0 0 pop @lvl || $ret
125 132 0 0 $lsp ||= $s
138 5 0 124 $term =~ /^js/ or $term =~ /^on[a-z]/
5 0 124 $term =~ /^js/ or $term =~ /^on[a-z]/ or $term eq "messages"
0 3 121 $term =~ /^js/ or $term =~ /^on[a-z]/ or $term eq "messages" or $term eq "comment"
214 0 0 0 shift() || &puke('Missing required Module::Name')