line |
true |
false |
branch |
96
|
3 |
674692 |
if ref $ver |
98
|
331717 |
342978 |
if ($opts{'check'}) |
99
|
0 |
331717 |
unless &version_check($ver) |
103
|
82205 |
592490 |
if ($ver =~ /^([^:]*):(.+)$/) { } |
110
|
277881 |
396814 |
if ($ver =~ /(.*)-(.*)$/) { } |
193
|
3683 |
299784 |
unless (ref $b and $b->isa('Dpkg::Version')) |
196
|
0 |
303467 |
if $inverted |
198
|
23434 |
280033 |
if $r |
200
|
178318 |
101715 |
if $r |
232
|
8192 |
25714 |
unless $no_epoch |
234
|
15424 |
18482 |
unless $no_revision |
258
|
0 |
154462 |
unless defined $va |
260
|
0 |
154462 |
unless defined $vb |
279
|
21887 |
112032 |
if ($op eq '>>') { } |
|
33156 |
78876 |
elsif ($op eq '>=') { } |
|
22317 |
56559 |
elsif ($op eq '=') { } |
|
33884 |
22675 |
elsif ($op eq '<=') { } |
|
22675 |
0 |
elsif ($op eq '<<') { } |
307
|
22403 |
111545 |
if $op eq '>' or $op eq '<' |
310
|
21891 |
112057 |
if ($op eq '>>' or $op eq 'gt') { } |
|
33178 |
78879 |
elsif ($op eq '>=' or $op eq 'ge' or $op eq '>') { } |
|
22327 |
56552 |
elsif ($op eq '=' or $op eq 'eq') { } |
|
33888 |
22664 |
elsif ($op eq '<=' or $op eq 'le' or $op eq '<') { } |
|
22664 |
0 |
elsif ($op eq '<<' or $op eq 'lt') { } |
341
|
93846 |
1894188 |
if ($x eq '~') { } |
|
50323 |
1843865 |
elsif ($x =~ /^\d$/) { } |
|
1467730 |
376135 |
elsif ($x =~ /^[A-Za-z]$/) { } |
357
|
202044 |
15388 |
unless defined $a or defined $b |
360
|
57287 |
864997 |
if $a > $b |
361
|
67480 |
797517 |
if $a < $b |
381
|
467219 |
17884 |
unless defined $a or defined $b |
384
|
827696 |
326811 |
if ($a =~ /^\d+$/ and $b =~ /^\d+$/) { } |
387
|
93229 |
734467 |
if $cmp |
391
|
124767 |
202044 |
if $cmp |
423
|
337912 |
0 |
if (defined $version) |
425
|
331717 |
6195 |
unless ref $version |
427
|
517 |
337395 |
unless (defined $str and length $str) |
429
|
0 |
517 |
if wantarray |
432
|
517 |
336878 |
unless (defined $version->epoch and length $version->epoch) |
434
|
0 |
517 |
if wantarray |
437
|
1034 |
335844 |
unless (defined $version->version and length $version->version) |
439
|
0 |
1034 |
if wantarray |
442
|
517 |
335327 |
unless (defined $version->revision and length $version->revision) |
444
|
0 |
517 |
if wantarray |
447
|
1034 |
334293 |
if ($version->version =~ /^[^\d]/) |
449
|
0 |
1034 |
if wantarray |
452
|
517 |
333776 |
if ($str =~ /([^-+:.0-9a-zA-Z~])/o) |
454
|
0 |
517 |
if wantarray |
457
|
1034 |
332742 |
unless ($version->epoch =~ /^\d*$/) |
460
|
0 |
1034 |
if wantarray |
463
|
250 |
332492 |
if wantarray |