Condition Coverage

blib/lib/Catalyst/Plugin/Static/Simple.pm
Criterion Covered Total %
condition 17 33 51.5


and 3 conditions

line !l l&&!r l&&r condition
56 0 0 10 $c->config->{'static'}{'no_logs'} and $c->log->can('abort')
70 17 0 0 $c->config->{'static'}{'debug'} and scalar @{$c->_debug_msg;}
124 8 0 27 @ipaths and --$count
137 0 9 16 -d $dir and -f $dir . '/' . $path

or 2 conditions

line l !l condition
91 0 7 $c->config->{'static'} ||= {}
93 0 7 $$config{'dirs'} ||= []
94 0 7 $$config{'include_path'} ||= [$c->config->{'root'}]
95 0 7 $$config{'mime_types'} ||= {}
96 0 7 $$config{'ignore_extensions'} ||= ['tmpl', 'tt', 'tt2', 'html', 'xhtml']
97 0 7 $$config{'ignore_dirs'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
98 0 7 0 $$config{'debug'} ||= $c->debug
125 27 0 0 shift @ipaths || next DIR_CHECK
208 2 6 2 $$config{'mime_types'}{$ext} || $$config{'mime_types_obj'}->mimeTypeOf($ext)