Condition Coverage

blib/lib/CGI/Snapp.pm
Criterion Covered Total %
condition 14 41 34.1


and 3 conditions

line !l l&&!r l&&r condition
239 3 0 4 $args->{'PARAMS'} and ref $args->{'PARAMS'} eq 'HASH'
754 0 0 201 $myself and $myself->logger
772 0 0 7 $#new_options == 0 and not $ref =~ /(?:ARRAY|HASH)/
789 0 0 0 $index and $path_info

or 2 conditions

line l !l condition
507 0 0 $self->_current_run_mode || ''
528 0 0 $self->_current_run_mode || ''
548 0 0 $method_name ||= ''
636 0 0 $type ||= ''
637 0 0 $hook ||= ''
725 4 7 $option ||= ''
747 201 0 $level ||= 'info'
748 201 0 $s ||= ''
793 0 0 (split(m[/], $path_info, 0))[$index] || ''
821 0 0 $class_callbacks{$hook} ||= {}
931 7 21 $q ||= ''
946 4 0 $url ||= ''
947 1 3 $status ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
286 29 0 0 ref $self || $self