Condition Coverage

blib/lib/Module/Checkstyle/Check/Package.pm
Criterion Covered Total %
condition 8 14 57.1


and 3 conditions

line !l l&&!r l&&r condition
54 3 0 3 defined $file and $file =~ /\.pm$/
58 0 3 0 defined $statement and $statement->isa('PPI::Statement::Package')
81 0 0 6 $namespace and $$self{$MATCHES_NAME}
110 0 3 2 $$self{$MATCHES_FILENAME} and $file

or 2 conditions

line l !l condition
37 1 1 as_numeric($config->get_directive($MAX_PER_FILE)) || 0