Condition Coverage

lib/Class/Usul/Config.pm
Criterion Covered Total %
condition 9 29 31.0


and 3 conditions

line !l l&&!r l&&r condition
149 6 0 0 $dir = &home2appldir($home) and $dir = rel2abs(&untaint_path($dir))
6 0 0 $dir = &home2appldir($home) and $dir = rel2abs(&untaint_path($dir)) and -d catdir($dir, 'lib')
153 0 0 6 $dir = catdir('', 'var', &class2appdir($appclass)) and $dir = rel2abs(&untaint_path($dir))
0 6 0 $dir = catdir('', 'var', &class2appdir($appclass)) and $dir = rel2abs(&untaint_path($dir)) and -d $dir
157 0 0 6 $dir = rel2abs(&untaint_path($home)) and -d $dir
265 1 0 0 $file and -e $file
268 0 0 0 $file and -e $file
305 0 144 0 defined $attr->{$name} and $attr->{$name} =~ / \A __(.+?)\((.+?)\)__ \z /mx

or 2 conditions

line l !l condition
312 0 76 $attr //= {}

or 3 conditions

line l !l&&r !l&&!r condition
217 0 8 0 &split_on__($name, 1) || &split_on_dash($name, 1) || $name