Condition Coverage

blib/lib/Perl/MinimumVersion.pm
Criterion Covered Total %
condition 67 104 64.4


and 3 conditions

line !l l&&!r l&&r condition
199 33 1 1 $explicit and $explicit > $minimum
208 18 0 17 $syntax and $syntax > $minimum
230 0 0 0 $explicit and $explicit > $minimum
340 41 2 1 defined $limit and not &_INSTANCE($limit, "version")
558 61 2 29 $v and $v > ($version || 0)
599 408 12 2 $_[1]->isa("PPI::Statement::Include") and $_[1]->pragma eq "experimental"
609 4 0 1 $v and $v > ($version || 0)
637 0 0 1 $v and $v > ($version || 0)
657 0 0 13 $v and $v > ($version || 0)
667 0 0 2 exists $_[1]->get_modifiers->{'r'} and $tr_r_version > ($version || 0)
675 32 12 3 $version and $version eq "5.000"
688 1 0 3 $next->content eq "\@" and "5.012" > ($version || 0)
1 0 0 $next->content eq "\$" and "5.014" > ($version || 0)
696 20 1 7 $next->raw_type eq "\@" and "5.012" > ($version || 0)
7 0 14 $next->raw_type eq "\$" and "5.014" > ($version || 0)
713 7 10 21 $version and $version == "5.014"
806 398 24 8 $_[1]->isa("PPI::Token::Operator") and $_[1]->content eq "..."
818 265 0 6 $_[1]->isa("PPI::Statement::Variable") and ($_[1]->children)[0]->isa("PPI::Token::Word")
831 0 0 0 $next->isa("PPI::Statement::Compound") and $next->schild(0)->isa("PPI::Token::Label")
885 0 0 2 &_CLASS($param->[0]) and $param->[0]->isa("Perl::MinimumVersion")
899 2 7 9 defined $_[0] and "$_[0]" eq "Perl::MinimumVersion"

or 2 conditions

line l !l condition
436 8 20 $current_reason || ''
500 0 1 $markers{$CHECKS{$check}} ||= []
558 3 28 $version || 0
609 0 1 $version || 0
637 0 1 $version || 0
657 0 13 $version || 0
667 0 2 $version || 0
688 0 3 $version || 0
0 0 $version || 0
696 1 7 $version || 0
1 13 $version || 0
708 0 6 $version || 0
829 0 0 $_[1]->snext_sibling || (return '')

or 3 conditions

line l !l&&r !l&&!r condition
139 0 149 0 &_INSTANCE(shift(), 'version') || 'version'->new('5.008')
290 3 1 0 not $element or $version > $max
344 3 1 1 not defined $limit or $self->{'syntax'}->version >= $limit
383 1 38 0 shift() || $self->{'default'}
752 1 2 0 $e1->isa("PPI::Structure::List") or $e1->isa("PPI::Token::Symbol")