| blib/lib/Perl/Version.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 25 | 29 | 86.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 113 | 0 | 304 | 3 | $] >= 5.008001 and &Scalar::Util::isvstring($_[0]) |
| 137 | 208 | 47 | 48 | @parts == 1 and length $parts[0] >= 3 |
| 157 | 228 | 9 | 18 | @lz and keys %le == 1 |
| 244 | 1 | 1 | 421 | &blessed($other) and $other->isa('Perl::Version') |
| 322 | 0 | 58 | 171 | $field >= 0 and $field < $fields |
| line | l | !l | condition |
|---|---|---|---|
| 222 | 133 | 4 | $self->{'format'} || \%NORMAL_FORMAT |
| 261 | 48 | 315 | $self->{'alpha'} || 0 |
| 56 | 307 | $other->{'alpha'} || 0 | |
| 305 | 12 | 49 | $self->{'alpha'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 70 | 309 | 0 | 1 | ref $class || $class || croak('new must be called as a class or object method') |
| 339 | 0 | 1 | 26 | $field < 0 or $field >= $fields |