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
80 214 0 0 $term eq 'charset' and $line =~ /^utf/
112 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
187 0 81 $$ptr{$term} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
38 0 23 0 ref $mod || $mod
46 0 23 0 shift() || $$self{'source'}
48 0 0 23 $CGI::FormBuilder::Util::DEBUG ||= $$self{'debug'}
76 19 6 214 /^\s*$/ or /^\s*#/
106 24 0 0 pop @lvl || $ret
124 132 0 0 $lsp ||= $s
137 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'
213 0 0 0 shift() || puke('Missing required Module::Name')