Condition Coverage

blib/lib/Dpkg/Version.pm
Criterion Covered Total %
condition 56 65 86.1


and 3 conditions

line !l l&&!r l&&r condition
193 3683 0 299784 ref $b and $b->isa('Dpkg::Version')
384 308927 17884 827696 $a =~ /^\d+$/ and $b =~ /^\d+$/
427 0 517 337395 defined $str and length $str
432 0 517 336878 defined $version->epoch and length $version->epoch
437 0 1034 335844 defined $version->version and length $version->version
442 0 517 335327 defined $version->revision and length $version->revision

or 2 conditions

line l !l condition
358 906896 15388 $a ||= 0
359 882254 40030 $b ||= 0
382 580325 574182 $a ||= 0
383 566892 587615 $b ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
95 0 674695 0 ref $this || $this
228 0 25714 8192 $opts{'omit_epoch'} || $self->{'no_epoch'}
229 3 18479 15424 $opts{'omit_revision'} || $self->{'no_revision'}
307 11008 11395 111545 $op eq '>' or $op eq '<'
310 10969 10922 112057 $op eq '>>' or $op eq 'gt'
11119 11051 89887 $op eq '>=' or $op eq 'ge'
22170 11008 78879 $op eq '>=' or $op eq 'ge' or $op eq '>'
11190 11137 56552 $op eq '=' or $op eq 'eq'
11270 11223 34059 $op eq '<=' or $op eq 'le'
22493 11395 22664 $op eq '<=' or $op eq 'le' or $op eq '<'
11355 11309 0 $op eq '<<' or $op eq 'lt'
357 906896 15388 202044 defined $a or defined $b
381 1136623 17884 467219 defined $a or defined $b