Condition Coverage

blib/lib/Dancer2/Core/Role/HasLocation.pm
Criterion Covered Total %
condition 11 11 100.0


and 3 conditions

line !l l&&!r l&&r condition
56 1 215 2265 not $subdir =~ m[[\\/]blib[\\/]?$] and -d $libdir
216 2260 5 not $subdir =~ m[[\\/]blib[\\/]?$] and -d $libdir and -d $bindir

or 2 conditions

line l !l condition
64 219 2253 Dancer2::FileUtils::path($subdir, '..') || '.'

or 3 conditions

line l !l&&r !l&&!r condition
56 5 4 2472 not $subdir =~ m[[\\/]blib[\\/]?$] and -d $libdir and -d $bindir or -f $dancerdir