Condition Coverage

blib/lib/Test2/Tools/PerlCritic.pm
Criterion Covered Total %
condition 12 18 66.6


and 3 conditions

line !l l&&!r l&&r condition
26 19 0 7 is_plain_hashref($_[0]) and @_ == 1
35 10 2 7 defined $_[0] and is_ref($_[0])
119 3 0 3 is_blessed_ref($_[0]) && $_[0]->isa(__PACKAGE__)

or 3 conditions

line l !l&&r !l&&!r condition
54 4 14 0 $critic ||= "Perl::Critic"->new(@opts)
136 8 4 0 $violations{$policy} //= "Test2::Tools::PerlCritic::Violation"->new($critic_violation)
217 0 12 0 $self->files->{$violation->logical_filename} //= "Test2::Tools::PerlCritic::File"->new($violation)