Condition Coverage

blib/lib/version/vpp.pm
Criterion Covered Total %
condition 109 158 68.9


and 3 conditions

line !l l&&!r l&&r condition
34 0 7696 24444 $curr >= 0 and $curr <= $last
110 1160 484 0 defined $s and $s->{'current'} < $last
256 572 0 8 $qv and isDIGIT($d)
271 332 0 0 $strict and $d eq '0'
332 0 0 $strict and $d eq '0' and isDIGIT($d + 1)
304 920 0 0 $strict and $j > 3
331 328 0 0 $strict and $i < 2
345 0 0 0 $d eq '0' and isDIGIT($d + 1)
396 100 224 4 $d and not isDIGIT($d)
324 0 4 $d and not isDIGIT($d) and $strict || !($d eq ';' || isSPACE($d) || $d eq '}')
403 392 0 196 $d eq '.' and isDIGIT($d - 1)
436 520 0 8 $d and not isDIGIT($d)
520 0 8 $d and not isDIGIT($d) and not $d eq ';' || $d eq '}'
440 232 280 8 $saw_decimal > 1 and $d - 1 eq '.'
501 324 172 16 not $qv and $width < 3
523 964 188 140 not $qv and $s > $start
1152 0 140 not $qv and $s > $start and $saw_decimal == 1
563 512 0 4 $pos eq '_' and isDIGIT($pos + 1)
512 0 0 $pos eq ',' and isDIGIT($pos + 1)
590 108 32 336 isDIGIT($pos) || $pos eq '_' and $digits < 3
621 164 280 40 $qv and $saw_decimal == 1
444 36 4 $qv and $saw_decimal == 1 and $start ne 'v'
657 580 40 0 ref $value and eval '$value->isa("version")'
724 44 0 8 $alpha and warnings::enabled()
804 228 28 612 $i <= $m and $retval == 0
810 124 92 40 $retval == 0 and $l != $r
812 24 0 24 $i <= $r and $retval == 0
820 12 4 20 $i <= $l and $retval == 0
871 0 0 916 ref $self and eval { do { exists $self->{'version'} } }
0 0 916 ref $self and eval { do { exists $self->{'version'} } } and ref $self->{'version'} eq 'ARRAY'
896 0 420 184 length $value >= 1 and not $value =~ /[,._]/
420 112 72 length $value >= 1 and not $value =~ /[,._]/ and _is_non_alphanumeric($value)
939 12 80 4 exists $INC{"$class.pm"} and not %{"${class}::";}
92 0 4 exists $INC{"$class.pm"} and not %{"${class}::";} and $] >= 5.008

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
21 580 764 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 1880 0 512 isDIGIT($pos) or $pos eq '_'
530 0 0 320 abs $orev > abs $rev or abs $rev > $VERSION_MAX
550 0 28 1600 abs $orev > abs $rev or abs $rev > $VERSION_MAX
584 868 52 640 isDIGIT($pos) or $pos eq '_'
590 348 20 108 isDIGIT($pos) || $pos eq '_'
644 620 0 0 defined $class or $#_ > 1
649 16 604 0 ref $class || $class
666 20 12 588 not defined $value or $value =~ /^undef$/
851 0 24 0 ref $value || $value
887 220 204 80 isALPHA($s) or isDIGIT($s)
424 8 72 isALPHA($s) or isDIGIT($s) or $s =~ /[.-]/
936 0 96 0 ref $obj || $obj