line |
true |
false |
branch |
144
|
42 |
97 |
if (@_ == 1 and ref $_[0] ne "HASH" or @_ > 1 and ref $_[0] ne "HASH" and @_ % 2 || ref $_[1] eq 'HASH')
|
148
|
0 |
42 |
unless defined $vstr and length "$vstr"
|
151
|
2 |
40 |
if exists $opts->{'debug'} and defined $opts->{'debug'} and length "$opts->{'debug'}"
|
154
|
0 |
42 |
unless defined $v
|
160
|
0 |
139 |
unless defined $rv
|
169
|
0 |
117 |
unless (exists $self->{'_reset'} and defined $self->{'_reset'} and length $self->{'_reset'})
|
173
|
68 |
124 |
if (exists $self->{'_cache_value'} and defined $self->{'_cache_value'} and length $self->{'_cache_value'}) { }
|
|
124 |
0 |
elsif (defined $self->{'original'} and length "$self->{'original'}") { }
|
186
|
59 |
58 |
if (defined $type and $type eq 'dotted' or not defined $type and $Changes::Version::DEFAULT_TYPE eq 'dotted') { }
|
196
|
0 |
58 |
if (defined $fmt and length $fmt) { }
|
202
|
58 |
0 |
if (defined $minor and index($minor, '_') != -1 || length $minor == 3 && substr($minor, 0, 1) eq '0' || length(($patch // '') || $self->padded)) { }
|
211
|
2 |
56 |
if (not $self->padded and index($str, "_") == -1)
|
216
|
3 |
1 |
if ($self->pretty and index($str, "_") == -1 and not length([split(/\./, $str, 0)]->[1]) % 3)
|
226
|
0 |
0 |
defined $minor ? :
|
|
0 |
0 |
defined $alpha ? :
|
273
|
0 |
0 |
if (defined $minor and length $minor) { }
|
|
0 |
0 |
elsif (defined $patch and length $patch) { }
|
275
|
0 |
0 |
if (defined $patch and length $patch) { }
|
294
|
0 |
0 |
unless ($self->extra->is_empty)
|
302
|
0 |
0 |
$comp->is_empty ? :
|
313
|
0 |
0 |
length $a ? :
|
319
|
0 |
0 |
length $dots ? :
|
325
|
0 |
0 |
length $dots ? :
|
335
|
0 |
0 |
length $num ? :
|
347
|
0 |
0 |
length $num ? :
|
351
|
0 |
0 |
if ($self->_is_array($fmt)) { }
|
|
0 |
0 |
elsif (not ref $fmt or ref $fmt and overload::Method($fmt, '""')) { }
|
355
|
0 |
0 |
if substr($this, 0, 1) eq "%"
|
356
|
0 |
0 |
unless (exists $map->{$this})
|
358
|
0 |
0 |
if $self->_is_warnings_enabled
|
371
|
0 |
0 |
if (exists $map->{$this}) { }
|
400
|
0 |
0 |
(shift())->alpha->length > 0 ? :
|
402
|
0 |
0 |
(shift())->qv ? :
|
414
|
0 |
60 |
if ($INC{'threads.pm'} and not exists $INC{'forks.pm'})
|
417
|
1 |
59 |
unless ($self->qv)
|
421
|
59 |
1 |
if ($opts->{'raw'}) { }
|
433
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::TRY ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if defined $Nice::Try::LAST_VAL
|
|
0 |
60 |
if ($Nice::Try::WANTARRAY) { }
|
|
60 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
60 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
60 |
length $@ ? :
|
|
60 |
0 |
unless &Scalar::Util::blessed($@)
|
|
0 |
0 |
if ($Nice::Try::HAS_CATCH)
|
|
0 |
60 |
if ($Nice::Try::DIED)
|
436
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::CATCH ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if ($Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
if $@
|
|
0 |
60 |
if (defined $Nice::Try::CATCH_DIED)
|
|
0 |
0 |
if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
60 |
$Nice::Try::WANTARRAY ? :
|
|
0 |
60 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
60 |
0 |
if (not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
|
|
0 |
0 |
scalar @Nice::Try::VOID > 1 ? :
|
|
60 |
0 |
if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
|
|
0 |
0 |
elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
|
|
0 |
0 |
if ($Nice::Try::BREAK eq 'next') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'last') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'redo') { }
|
|
0 |
0 |
if (defined $Nice::Try::BREAK)
|
|
0 |
0 |
scalar @Nice::Try::LAST_VAL > 1 ? :
|
445
|
0 |
59 |
if ($INC{'threads.pm'} and not exists $INC{'forks.pm'})
|
447
|
58 |
1 |
if ($opts->{'raw'}) { }
|
456
|
23 |
35 |
if defined $alpha and length "$alpha"
|
467
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::TRY ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if defined $Nice::Try::LAST_VAL
|
|
0 |
59 |
if ($Nice::Try::WANTARRAY) { }
|
|
59 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
59 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
59 |
length $@ ? :
|
|
59 |
0 |
unless &Scalar::Util::blessed($@)
|
|
0 |
0 |
if ($Nice::Try::HAS_CATCH)
|
|
0 |
59 |
if ($Nice::Try::DIED)
|
470
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::CATCH ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if ($Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
if $@
|
|
0 |
59 |
if (defined $Nice::Try::CATCH_DIED)
|
|
0 |
0 |
if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
59 |
$Nice::Try::WANTARRAY ? :
|
|
0 |
59 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
59 |
0 |
if (not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
|
|
0 |
0 |
scalar @Nice::Try::VOID > 1 ? :
|
|
59 |
0 |
if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
|
|
0 |
0 |
elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
|
|
0 |
0 |
if ($Nice::Try::BREAK eq 'next') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'last') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'redo') { }
|
|
0 |
0 |
if (defined $Nice::Try::BREAK)
|
|
0 |
0 |
scalar @Nice::Try::LAST_VAL > 1 ? :
|
481
|
0 |
96 |
unless defined $str and length "$str"
|
482
|
0 |
96 |
if ($] >= "5.008001" and ref \$str eq "VSTRING")
|
496
|
96 |
0 |
if ($str =~ /^$Changes::Version::VERSION_LAX_REGEX$/) { }
|
501
|
13 |
83 |
if (defined $re->{'dotted'} and length $re->{'dotted'}) { }
|
|
83 |
0 |
elsif (defined $re->{'decimal'} and length $re->{'decimal'}) { }
|
514
|
6 |
90 |
if defined $re->{'has_v'} and length $re->{'has_v'}
|
516
|
80 |
16 |
if defined $re->{'minor'} and length $re->{'minor'}
|
517
|
2 |
94 |
if defined $re->{'alpha'} and length $re->{'alpha'}
|
518
|
13 |
83 |
if ($def->{'type'} eq 'dotted') { }
|
|
83 |
0 |
elsif ($def->{'type'} eq 'decimal') { }
|
521
|
1 |
12 |
if (defined $re->{'dotted_numified'}) { }
|
526
|
0 |
1 |
if (defined $re->{'dotted_numified_under'}) { }
|
533
|
1 |
0 |
if defined $re->{'alpha'}
|
536
|
1 |
0 |
if ($vstr =~ /^$Changes::Version::VERSION_LAX_REGEX$/)
|
539
|
1 |
0 |
if (defined $re2->{'dotted'} and length $re2->{'dotted'})
|
541
|
1 |
0 |
if (defined $re2->{'minor_patch'})
|
559
|
1 |
11 |
if defined $def->{'alpha'} and length $def->{'alpha'}
|
560
|
12 |
0 |
if (defined $re->{'minor_patch'})
|
581
|
79 |
4 |
if defined $def->{'minor'} and length $def->{'minor'}
|
583
|
0 |
83 |
if (defined $def->{'alpha'} and length $def->{'alpha'} < 3 and not $self->compat) { }
|
625
|
96 |
0 |
if defined $v
|
626
|
0 |
96 |
unless defined $new
|
649
|
170 |
79 |
if (not exists $self->{'_reset'} && defined $self->{'_reset'} && length $self->{'_reset'} and scalar @_)
|
656
|
73 |
97 |
if (defined $self->{'major'})
|
659
|
0 |
73 |
if ($INC{'threads.pm'} and not exists $INC{'forks.pm'})
|
664
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::TRY ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if defined $Nice::Try::LAST_VAL
|
|
0 |
73 |
if ($Nice::Try::WANTARRAY) { }
|
|
73 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
73 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
73 |
length $@ ? :
|
|
73 |
0 |
unless &Scalar::Util::blessed($@)
|
|
0 |
0 |
if ($Nice::Try::HAS_CATCH)
|
|
0 |
73 |
if ($Nice::Try::DIED)
|
666
|
0 |
0 |
if $self->_warnings_is_enabled
|
667
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::CATCH ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if ($Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
if $@
|
|
0 |
73 |
if (defined $Nice::Try::CATCH_DIED)
|
|
0 |
0 |
if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
$Nice::Try::WANTARRAY ? :
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
if (not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
|
|
0 |
0 |
scalar @Nice::Try::VOID > 1 ? :
|
|
0 |
73 |
if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
|
|
0 |
73 |
elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
|
|
0 |
0 |
if ($Nice::Try::BREAK eq 'next') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'last') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'redo') { }
|
|
0 |
73 |
if (defined $Nice::Try::BREAK)
|
|
0 |
73 |
scalar @Nice::Try::LAST_VAL > 1 ? :
|
677
|
0 |
7 |
'Changes::Version'->_is_object($this) && $this->isa('Changes::Version') ? :
|
694
|
3 |
6 |
if (/^(\d+([._]\d+)*)$/)
|
696
|
1 |
2 |
if $vers == "version"->parse($1)
|
699
|
4 |
2 |
if (/^([=!<>]=|[<>])(\d+([._]\d+)*)$/)
|
701
|
4 |
0 |
if $cmp->{$1}->($vers, "version"->parse($2))
|
704
|
2 |
0 |
if (/^(\d+([._]\d+)*)\.\.(\d+([._]\d+)*)$/)
|
706
|
2 |
0 |
if ("version"->parse($1) <= $vers and $vers <= "version"->parse($3))
|
727
|
87 |
12 |
if ($self->{'type'} eq 'decimal') { }
|
|
12 |
0 |
elsif ($self->{'type'} eq 'dotted') { }
|
753
|
0 |
0 |
if (not defined $frag && length $frag) { }
|
|
0 |
0 |
elsif (not $frag =~ /^(major|minor|patch|alpha|\d+)$/) { }
|
|
0 |
0 |
elsif ($val >= 0) { }
|
769
|
0 |
0 |
$frag =~ /^\d+$/ ? :
|
783
|
0 |
0 |
if ($frag eq "alpha")
|
788
|
0 |
0 |
if $frag_is_int and $frag == 0
|
789
|
0 |
0 |
$frag_is_int ? :
|
792
|
0 |
0 |
if ($type eq "decimal" and $level > 2)
|
802
|
0 |
0 |
if ($val < 0) { }
|
805
|
0 |
0 |
unless ($i == 1)
|
809
|
0 |
0 |
if (exists $num2frag->{$j}) { }
|
821
|
0 |
0 |
$up_val > 0 ? :
|
824
|
0 |
0 |
if (exists $num2frag->{$i}) { }
|
838
|
0 |
0 |
if (exists $num2frag->{$i}) { }
|
860
|
0 |
84 |
if (not defined $frag && length $frag) { }
|
|
0 |
84 |
elsif (not $frag =~ /^(major|minor|patch|alpha|\d+)$/) { }
|
870
|
0 |
84 |
$frag =~ /^\d+$/ ? :
|
871
|
21 |
63 |
if ($frag eq 'major' or $frag_is_int and $frag == 1) { }
|
|
21 |
42 |
elsif ($frag eq 'minor' or $frag_is_int and $frag == 2) { }
|
|
21 |
21 |
elsif ($frag eq 'patch' or $frag_is_int and $frag == 3) { }
|
|
21 |
0 |
elsif ($frag eq 'alpha') { }
|
|
0 |
0 |
elsif ($type eq 'dotted' and $frag_is_int) { }
|
898
|
0 |
0 |
$offset < $len ? :
|
900
|
0 |
0 |
if ($i < $offset and not defined $extra->[$i] && length $extra->[$i] or $i > $offset)
|
916
|
40 |
0 |
unless ($left->_is_a($right, $class))
|
921
|
0 |
40 |
if ($swap)
|
926
|
0 |
40 |
unless (_verify($left))
|
928
|
0 |
0 |
$swap ? :
|
930
|
0 |
40 |
unless (_verify($right))
|
932
|
0 |
0 |
$swap ? :
|
954
|
0 |
96 |
unless $frag =~ /^(major|minor|patch|alpha|\d+)$/
|
955
|
0 |
96 |
if (not defined $opts or ref $opts ne "HASH" or not exists $opts->{'op'} or not defined $opts->{'op'} or not length $opts->{'op'})
|
966
|
0 |
96 |
$frag =~ /^\d+$/ ? :
|
974
|
96 |
0 |
if ($frag_is_int and exists $map->{$frag} or not $frag_is_int)
|
979
|
96 |
0 |
defined $coderef ? :
|
981
|
0 |
96 |
if (not defined $val) { }
|
|
0 |
96 |
elsif (not $self->_is_a($val, 'Module::Generic::Number')) { }
|
988
|
0 |
0 |
unless (defined $val)
|
995
|
16 |
80 |
if ($op eq '++' or $op eq '--') { }
|
1001
|
16 |
0 |
defined $other ? :
|
|
64 |
0 |
defined $other ? :
|
|
16 |
64 |
$swap ? :
|
1004
|
0 |
96 |
if $@
|
1005
|
0 |
96 |
if (defined $err)
|
1007
|
0 |
0 |
if $self->_warnings_is_enabled
|
1013
|
16 |
80 |
if ($swap) { }
|
1015
|
0 |
16 |
ref $rv ? :
|
1021
|
16 |
64 |
if ($op eq '++' or $op eq '--') { }
|
1031
|
0 |
80 |
if ($new_val < 0) { }
|
1037
|
80 |
0 |
if (defined $coderef) { }
|
1056
|
0 |
4 |
unless $op =~ /^(inc|dec)$/
|
1059
|
0 |
4 |
if (not defined $frag && length "$frag") { }
|
|
0 |
4 |
elsif (not $frag =~ /^(major|minor|patch|alpha|\d+)$/) { }
|
1061
|
0 |
0 |
$op eq 'inc' ? :
|
1065
|
0 |
0 |
$op eq 'inc' ? :
|
1067
|
0 |
4 |
if (defined $unit and not $unit =~ /^\d+$/)
|
1069
|
0 |
0 |
$op eq 'inc' ? :
|
1072
|
0 |
4 |
$frag =~ /^\d+$/ ? :
|
1080
|
4 |
0 |
if ($frag_is_int and exists $map->{$frag} or not $frag_is_int)
|
1085
|
4 |
0 |
defined $coderef ? :
|
1087
|
0 |
4 |
if ($frag_is_int and $frag - 4 > $extra->size) { }
|
|
0 |
4 |
elsif (defined $unit and $unit == 1) { }
|
1089
|
0 |
0 |
defined $unit ? :
|
|
0 |
0 |
$op eq 'inc' ? :
|
1097
|
0 |
0 |
$op eq 'inc' ? :
|
1101
|
4 |
0 |
$op eq 'inc' ? :
|
1104
|
4 |
0 |
if (defined $coderef) { }
|
1120
|
0 |
0 |
if $self->_warnings_is_enabled
|
1133
|
0 |
190 |
unless defined $def->{'major'} and length $def->{'major'}
|
1134
|
94 |
96 |
if ($self->qv or ($type // '') eq 'dotted') { }
|
|
96 |
0 |
elsif (($type // '') eq 'decimal') { }
|
1136
|
0 |
94 |
unless defined $def->{'minor'} and length "$def->{'minor'}"
|
1137
|
0 |
94 |
unless defined $def->{'patch'} and length "$def->{'patch'}"
|
1143
|
0 |
0 |
if not defined $def->{'minor'} && length "$def->{'minor'}" and defined $def->{'alpha'} and length "$def->{'alpha'}"
|
1146
|
0 |
190 |
unless ($self->extra->is_empty)
|
1153
|
3 |
0 |
unless length $def->{$_} or $ok
|
1158
|
94 |
96 |
$self->qv ? :
|
1159
|
94 |
96 |
if defined $def->{'alpha'} and length $def->{'alpha'}
|
1166
|
80 |
0 |
if (defined $self and 'Module::Generic'->_is_a($self, 'Changes::Version') and eval {
|
1182
|
0 |
87 |
if (@_) { }
|
|
0 |
87 |
elsif (not exists $self->{'_version'} && defined $self->{'_version'}) { }
|
1185
|
0 |
0 |
unless $self->_is_a($v, "version")
|
1190
|
0 |
0 |
if ($INC{'threads.pm'} and not exists $INC{'forks.pm'})
|
1194
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::TRY ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if defined $Nice::Try::LAST_VAL
|
|
0 |
0 |
if ($Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
length $@ ? :
|
|
0 |
0 |
unless &Scalar::Util::blessed($@)
|
|
0 |
0 |
if ($Nice::Try::HAS_CATCH)
|
|
0 |
0 |
if ($Nice::Try::DIED)
|
1196
|
0 |
0 |
if $self->_warnings_is_enabled
|
1197
|
0 |
0 |
if not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
|
|
0 |
0 |
&$Nice::Try::CATCH ? :
|
|
0 |
0 |
if scalar @Nice::Try::VOID
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
if ($Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
elsif (defined $Nice::Try::WANTARRAY) { }
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
if $@
|
|
0 |
0 |
if (defined $Nice::Try::CATCH_DIED)
|
|
0 |
0 |
if (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__NEXT__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__LAST__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq '__REDO__') { }
|
|
0 |
0 |
elsif (defined $Nice::Try::BREAK and $Nice::Try::BREAK eq 'return') { }
|
|
0 |
0 |
if ($Nice::Try::WANT eq 'LIST') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'VOID') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'OBJECT') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'REFSCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'SCALAR') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'BOOLEAN') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'CODE') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'HASH') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'ARRAY') { }
|
|
0 |
0 |
elsif ($Nice::Try::WANT eq 'GLOB') { }
|
|
0 |
0 |
$Nice::Try::WANTARRAY ? :
|
|
0 |
0 |
if (defined $Nice::Try::WANT and length $Nice::Try::WANT) { }
|
|
0 |
0 |
if (not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return")
|
|
0 |
0 |
scalar @Nice::Try::VOID > 1 ? :
|
|
0 |
0 |
if (defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')) { }
|
|
0 |
0 |
elsif (scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')) { }
|
|
0 |
0 |
if ($Nice::Try::BREAK eq 'next') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'last') { }
|
|
0 |
0 |
elsif ($Nice::Try::BREAK eq 'redo') { }
|
|
0 |
0 |
if (defined $Nice::Try::BREAK)
|
|
0 |
0 |
scalar @Nice::Try::LAST_VAL > 1 ? :
|