Condition Coverage

blib/lib/version/vpp.pm
Criterion Covered Total %
condition 110 161 68.3


and 3 conditions

line !l l&&!r l&&r condition
34 0 8251 26240 $curr >= 0 and $curr <= $last
110 1234 521 0 defined $s and $s->{'current'} < $last
256 609 0 8 $qv and isDIGIT($d)
271 344 0 0 $strict and $d eq 0
344 0 0 $strict and $d eq 0 and isDIGIT($d + 1)
304 948 0 0 $strict and $j > 3
331 340 0 0 $strict and $i < 2
345 0 0 0 $d eq 0 and isDIGIT($d + 1)
396 112 237 4 $d and not isDIGIT($d)
349 0 4 $d and not isDIGIT($d) and $strict || !($d eq ';' || isSPACE($d) || $d eq '}')
403 511 0 196 $d eq "." and isDIGIT($d - 1)
436 557 0 8 $d and not isDIGIT($d)
557 0 8 $d and not isDIGIT($d) and not $d eq ';' || $d eq '}'
440 257 292 8 $saw_decimal > 1 and $d - 1 eq "."
501 336 197 16 not $qv and $width < 3
523 1004 213 183 not $qv and $s > $start
1217 0 183 not $qv and $s > $start and $saw_decimal == 1
563 567 0 4 $pos eq "_" and isDIGIT($pos + 1)
567 0 0 $pos eq "," and isDIGIT($pos + 1)
590 133 50 455 isDIGIT($pos) || $pos eq '_' and $digits < 3
621 189 292 40 $qv and $saw_decimal == 1
481 36 4 $qv and $saw_decimal == 1 and $start ne "v"
657 617 40 0 ref $value and eval "\$value->isa(\"version\")"
724 48 0 8 $alpha and warnings::enabled()
814 235 31 634 $i <= $m and $retval == 0
820 129 97 40 $retval == 0 and $l != $r
822 24 0 24 $i <= $r and $retval == 0
830 12 4 20 $i <= $l and $retval == 0
898 0 0 967 ref $self and eval { do { exists $self->{'version'} } }
0 0 967 ref $self and eval { do { exists $self->{'version'} } } and ref $self->{'version'} eq "ARRAY"
923 0 457 184 length $value >= 1 and not $value =~ /[,._]/
457 112 72 length $value >= 1 and not $value =~ /[,._]/ and _is_non_alphanumeric($value)
966 18 81 4 exists $INC{"$class.pm"} and not %{"${class}::";}
99 0 4 exists $INC{"$class.pm"} and not %{"${class}::";} and $] >= "5.008"

or 2 conditions

line l !l condition
719 8 48 $self->{'alpha'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
21 617 801 0 ref $self || $self
361 68 0 20 not $d or $d eq ";"
68 4 16 not $d or $d eq ";" or isSPACE($d)
4 0 16 not $d or $d eq ";" or isSPACE($d) or $d eq "}"
396 0 4 0 $strict || !($d eq ';' || isSPACE($d) || $d eq '}')
436 0 0 8 $d eq ';' || $d eq '}'
505 1917 0 549 isDIGIT($pos) or $pos eq "_"
530 0 0 439 abs $orev > abs $rev or abs $rev > $VERSION_MAX
550 0 28 1665 abs $orev > abs $rev or abs $rev > $VERSION_MAX
584 896 52 668 isDIGIT($pos) or $pos eq "_"
590 485 20 133 isDIGIT($pos) || $pos eq '_'
644 657 0 0 defined $class or $#_ > 1
649 16 641 0 ref $class || $class
666 20 12 625 not defined $value or $value =~ /^undef$/
861 0 24 0 ref $value || $value
885 0 4 0 ref $proto || $proto
914 220 204 80 isALPHA($s) or isDIGIT($s)
424 8 72 isALPHA($s) or isDIGIT($s) or $s =~ /[.-]/
963 0 103 0 ref $obj || $obj