Branch Coverage

lib/CGI/Application/Plugin/ValidateQuery.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
45 0 14 if (defined $$opts{'EXTRA_FIELDS_OPTIONAL'} or defined $$opts{'ALLOW_EXTRA'}) { }
53 7 7 defined $$opts{'ERROR_MODE'} ? :
56 4 10 defined $$opts{'LOG_LEVEL'} ? :
59 1 13 if $$self{'__CAP_VALQUERY_LOG_LEVEL'} and not $self->can('log')
63 2 11 if %{$opts;}
69 0 3 unless @_
82 0 14 unless @_
101 3 14 $app_params ? :
110 0 77 if (ref $val eq 'Regexp')
120 12 70 scalar @values > 1 ? :
128 7 10 if ($@)
130 1 6 if $log_level
140 2 8 $app_params ? :