Condition Coverage

blib/lib/CGI/Snapp.pm
Criterion Covered Total %
condition 19 49 38.7


and 3 conditions

line !l l&&!r l&&r condition
655 3 0 4 $$arg{'PARAMS'} and ref $$arg{'PARAMS'} eq 'HASH'
676 0 0 201 $myself and $myself->logger
694 0 0 7 $#new_options == 0 and not $ref =~ /(?:ARRAY|HASH)/
711 0 0 0 $index and $path_info

or 2 conditions

line l !l condition
396 0 0 $self->_current_run_mode || ''
417 0 0 $self->_current_run_mode || ''
437 0 0 $method_name ||= ''
525 0 0 $type ||= ''
526 0 0 $hook ||= ''
614 4 7 $option ||= ''
640 7 0 $$arg{'logger'} ||= ''
642 4 3 $$arg{'PARAMS'} ||= ''
645 0 7 $$arg{'_psgi'} ||= 0
646 0 7 $$arg{'QUERY'} ||= ''
669 201 0 $level ||= 'info'
670 201 0 $s ||= ''
715 0 0 (split(m[/], $path_info, 0))[$index] || ''
758 0 0 $class_callbacks{$hook} ||= {}
868 7 21 $q ||= ''
883 4 0 $url ||= ''
884 1 3 $status ||= 0

or 3 conditions

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