Condition Coverage

blib/lib/Perl/Critic/Policy/Modules/RequireExplicitPackage/ObjectPad.pm
Criterion Covered Total %
condition 12 16 75.0


and 3 conditions

line !l l&&!r l&&r condition
45 13 14 6 $_[1]->parent == $_[0] and $_[1]->isa("PPI::Statement::Include")
27 0 6 $_[1]->parent == $_[0] and $_[1]->isa("PPI::Statement::Include") and ($_[1]->type // "") eq "use"
53 20 16 9 $_[1]->parent == $_[0] and $_[1]->isa("PPI::Statement")
36 0 9 $_[1]->parent == $_[0] and $_[1]->isa("PPI::Statement") and $_[1]->child(0)->isa("PPI::Token::Word")

or 2 conditions

line l !l condition
45 6 0 $_[1]->module // ""
6 0 $_[1]->type // ""