Condition Coverage

blib/lib/Perl/Lint/Policy/Modules/RequireFilenameMatchesPackage.pm
Criterion Covered Total %
condition 12 17 70.5


and 3 conditions

line !l l&&!r l&&r condition
84 17 5 1 $directive_declared_row and $package_declared_line < $directive_declared_row
91 21 0 2 $path eq 'main' and not $is_directive_declared_after
112 0 13 1 $should_be_no_error and $is_directive_declared_after

or 2 conditions

line l !l condition
96 8 0 @{[split(m[/], $path, 0)];}[-1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
40 7 17 0 $file ||= $realfile
112 7 0 14 not $should_be_no_error or $should_be_no_error and $is_directive_declared_after