Condition Coverage

blib/lib/Dancer2/Plugin/WebService.pm
Criterion Covered Total %
condition 0 54 0.0


and 3 conditions

line !l l&&!r l&&r condition
136 0 0 0 -f "$_/$session/__clientip" and -f "$_/$session/__lastaccess"
0 0 0 -f "$_/$session/__clientip" and -f "$_/$session/__lastaccess" and -f "$_/$session/__logintime"
0 0 0 -f "$_/$session/__clientip" and -f "$_/$session/__lastaccess" and -f "$_/$session/__logintime" and -f "$_/$session/__user"
651 0 0 0 $Mkdir[0] eq '' and scalar @Mkdir > 0
710 0 0 0 1 == @_ and 'HASH' eq ref $_[0]
823 0 0 0 1 == @_ and 'HASH' eq ref $_[0]

or 2 conditions

line l !l condition
86 0 0 $plugin->{'app'}{'config'}{'encoding'} //= 'UTF-8'
87 0 0 $plugin->{'app'}{'config'}{'show_errors'} //= 1
88 0 0 $plugin->{'app'}{'config'}{'auto_page'} //= 0
89 0 0 $plugin->{'app'}{'config'}{'traces'} //= 0
90 0 0 $plugin->{'app'}{'config'}{'layout'} //= 'main'
91 0 0 $plugin->{'app'}{'config'}{'behind_proxy'} //= 0
92 0 0 $plugin->{'app'}{'config'}{'plugins'}{'WebService'}{'Default format'} //= 'json'
93 0 0 $plugin->{'app'}{'config'}{'plugins'}{'WebService'}{'Command sudo'} //= '/usr/bin/sudo'
94 0 0 $plugin->{'app'}{'config'}{'plugins'}{'WebService'}{'Command rm'} //= '/usr/bin/rm'
95 0 0 $plugin->{'app'}{'config'}{'plugins'}{'WebService'}{'Owner'} //= 'Joe Lunchbucket'
96 0 0 $plugin->{'app'}{'config'}{'plugins'}{'WebService'}{'Session idle timout'} //= 3600
165 0 0 (values %{$plugin->app->request->params('route');})[0] // ''

or 3 conditions

line l !l&&r !l&&!r condition
171 0 0 0 $plugin->app->request->query_parameters->{'from'} // $plugin->config->{'Default format'}
172 0 0 0 $plugin->app->request->query_parameters->{'to'} // $plugin->from
477 0 0 0 not defined $obj->{'data_from'} or $obj->{'data_from'} =~ /^\s*$/
566 0 0 0 'DATA_USER_SEND' eq $_[0] or 'DATA_USER_ALL' eq $_[0]