line |
true |
false |
branch |
116
|
42 |
90 |
if (@_ == 1 and ref $_[0] ne "HASH" or @_ > 1 and ref $_[0] ne "HASH" and @_ % 2 || ref $_[1] eq 'HASH')
|
120
|
0 |
42 |
unless defined $vstr and length "$vstr"
|
123
|
2 |
40 |
if exists $opts->{'debug'} and defined $opts->{'debug'} and length "$opts->{'debug'}"
|
126
|
0 |
42 |
unless defined $v
|
138
|
0 |
132 |
unless defined $rv
|
151
|
0 |
117 |
unless (exists $self->{'_reset'} and defined $self->{'_reset'} and length $self->{'_reset'})
|
156
|
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'}") { }
|
170
|
59 |
58 |
if (defined $type and $type eq 'dotted' or not defined $type and $Changes::Version::DEFAULT_TYPE eq 'dotted') { }
|
178
|
2 |
56 |
if (not $self->padded and index($str, "_") == -1)
|
183
|
3 |
1 |
if ($self->pretty and index($str, "_") == -1 and not length([split(/\./, $str, 0)]->[1]) % 3)
|
235
|
0 |
0 |
(shift())->alpha->length > 0 ? :
|
237
|
0 |
0 |
(shift())->qv ? :
|
249
|
0 |
60 |
if ($INC{'threads.pm'} and not exists $INC{'forks.pm'})
|
252
|
1 |
59 |
unless ($self->qv)
|
256
|
59 |
1 |
if ($opts->{'raw'}) { }
|
270
|
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)
|
273
|
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")
|
|
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 |
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 ? :
|
282
|
0 |
59 |
if ($INC{'threads.pm'} and not exists $INC{'forks.pm'})
|
284
|
58 |
1 |
if ($opts->{'raw'}) { }
|
294
|
23 |
35 |
if defined $alpha and length "$alpha"
|
295
|
23 |
35 |
defined $alpha && length "$alpha" ? :
|
307
|
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)
|
310
|
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")
|
|
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 |
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 ? :
|
321
|
0 |
89 |
unless defined $str and length "$str"
|
322
|
89 |
0 |
if ($str =~ /^$Changes::Version::VERSION_LAX_REGEX$/) { }
|
327
|
10 |
79 |
if (defined $re->{'dotted'} and length $re->{'dotted'}) { }
|
|
79 |
0 |
elsif (defined $re->{'decimal'} and length $re->{'decimal'}) { }
|
340
|
6 |
83 |
if defined $re->{'has_v'} and length $re->{'has_v'}
|
342
|
2 |
87 |
if defined $re->{'alpha'} and length $re->{'alpha'}
|
343
|
10 |
79 |
if ($def->{'type'} eq 'dotted') { }
|
|
79 |
0 |
elsif ($def->{'type'} eq 'decimal') { }
|
345
|
10 |
0 |
if (defined $re->{'minor_patch'})
|
363
|
1 |
78 |
if (defined $def->{'alpha'} and length $def->{'alpha'} < 3 and not $self->compat) { }
|
377
|
79 |
0 |
if ($vstr =~ /^$Changes::Version::VERSION_LAX_REGEX$/)
|
381
|
79 |
0 |
if (defined $re2->{'dotted'} and length $re2->{'dotted'})
|
383
|
79 |
0 |
if (defined $re2->{'minor_patch'})
|
397
|
89 |
0 |
if defined $v
|
398
|
0 |
89 |
unless defined $new
|
419
|
163 |
79 |
if (not exists $self->{'_reset'} && defined $self->{'_reset'} && length $self->{'_reset'} and scalar @_)
|
429
|
73 |
90 |
if (defined $self->{'major'})
|
432
|
0 |
73 |
if ($INC{'threads.pm'} and not exists $INC{'forks.pm'})
|
437
|
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)
|
439
|
0 |
0 |
if $self->_warnings_is_enabled
|
440
|
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 |
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 |
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 ? :
|
455
|
82 |
10 |
if ($self->{'type'} eq 'decimal') { }
|
|
10 |
0 |
elsif ($self->{'type'} eq 'dotted') { }
|
480
|
0 |
84 |
if (not defined $frag && length $frag) { }
|
|
0 |
84 |
elsif (not $frag =~ /^(major|minor|patch|alpha|\d+)$/) { }
|
489
|
0 |
84 |
$frag =~ /^\d+$/ ? :
|
490
|
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 ($frag_is_int) { }
|
516
|
0 |
0 |
$offset < $len ? :
|
518
|
0 |
0 |
if ($i < $offset and not defined $extra->[$i] && length $extra->[$i] or $i > $offset)
|
533
|
40 |
0 |
defined $right ? :
|
|
40 |
0 |
defined $swap ? :
|
535
|
40 |
0 |
unless ($left->_is_a($right, $class))
|
540
|
0 |
40 |
if ($swap)
|
545
|
0 |
40 |
unless (_verify($left))
|
547
|
0 |
0 |
$swap ? :
|
549
|
0 |
40 |
unless (_verify($right))
|
551
|
0 |
0 |
$swap ? :
|
577
|
0 |
96 |
unless $frag =~ /^(major|minor|patch|alpha|\d+)$/
|
578
|
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'})
|
589
|
0 |
96 |
$frag =~ /^\d+$/ ? :
|
597
|
96 |
0 |
if ($frag_is_int and exists $map->{$frag} or not $frag_is_int)
|
602
|
96 |
0 |
defined $coderef ? :
|
603
|
96 |
0 |
defined $val ? :
|
|
80 |
16 |
defined $other ? :
|
|
16 |
80 |
$swap ? :
|
605
|
0 |
96 |
if (not defined $val) { }
|
|
0 |
96 |
elsif (not $self->_is_a($val, 'Module::Generic::Number')) { }
|
612
|
0 |
0 |
unless (defined $val)
|
619
|
16 |
80 |
if ($opts->{'op'} eq '++' or $opts->{'op'} eq '--') { }
|
625
|
16 |
0 |
defined $other ? :
|
|
64 |
0 |
defined $other ? :
|
|
16 |
64 |
$swap ? :
|
629
|
0 |
96 |
if $@
|
631
|
0 |
96 |
if (defined $err)
|
633
|
0 |
0 |
if $self->_warnings_is_enabled
|
639
|
16 |
80 |
if ($swap) { }
|
641
|
0 |
16 |
ref $rv ? :
|
647
|
16 |
64 |
if ($op eq '++' or $op eq '--') { }
|
657
|
80 |
0 |
if (defined $coderef) { }
|
677
|
0 |
4 |
unless $op =~ /^(inc|dec)$/
|
680
|
0 |
4 |
if (not defined $frag && length "$frag") { }
|
|
0 |
4 |
elsif (not $frag =~ /^(major|minor|patch|alpha|\d+)$/) { }
|
682
|
0 |
0 |
$op eq 'inc' ? :
|
686
|
0 |
0 |
$op eq 'inc' ? :
|
688
|
0 |
4 |
if (defined $unit and not $unit =~ /^\d+$/)
|
690
|
0 |
0 |
$op eq 'inc' ? :
|
693
|
0 |
4 |
$frag =~ /^\d+$/ ? :
|
701
|
4 |
0 |
if ($frag_is_int and exists $map->{$frag} or not $frag_is_int)
|
706
|
4 |
0 |
defined $coderef ? :
|
708
|
0 |
4 |
if ($frag_is_int and $frag - 4 > $extra->size) { }
|
|
0 |
4 |
elsif (defined $unit and $unit == 1) { }
|
710
|
0 |
0 |
defined $unit ? :
|
|
0 |
0 |
$op eq 'inc' ? :
|
718
|
0 |
0 |
$op eq 'inc' ? :
|
722
|
4 |
0 |
$op eq 'inc' ? :
|
725
|
4 |
0 |
if (defined $coderef) { }
|
741
|
0 |
0 |
if $self->_warnings_is_enabled
|
754
|
0 |
190 |
unless defined $def->{'major'} and length $def->{'major'}
|
755
|
94 |
96 |
if ($self->qv or ($type // '') eq 'dotted') { }
|
|
96 |
0 |
elsif (($type // '') eq 'decimal') { }
|
757
|
0 |
94 |
unless defined $def->{'minor'} and length "$def->{'minor'}"
|
758
|
0 |
94 |
unless defined $def->{'patch'} and length "$def->{'patch'}"
|
764
|
0 |
0 |
if not defined $def->{'minor'} && length "$def->{'minor'}" and defined $def->{'alpha'} and length "$def->{'alpha'}"
|
770
|
3 |
0 |
unless length $def->{$_} or $ok
|
775
|
94 |
96 |
$self->qv ? :
|
776
|
94 |
96 |
if defined $def->{'alpha'} and length $def->{'alpha'}
|
783
|
80 |
0 |
if (defined $self)
|
785
|
80 |
0 |
'Module::Generic'->_is_a($self, 'Changes::Version') ? :
|
|
80 |
0 |
exists $self->{'_version'} ? :
|
|
80 |
0 |
'Module::Generic'->_is_a($self->{'_version'}, 'version') ? :
|
787
|
80 |
0 |
if (defined $self and 'Module::Generic'->_is_a($self, 'Changes::Version') and eval {
|
803
|
0 |
80 |
if (@_) { }
|
|
0 |
80 |
elsif (not exists $self->{'_version'} && defined $self->{'_version'}) { }
|
806
|
0 |
0 |
unless $self->_is_a($v, "version")
|
811
|
0 |
0 |
if ($INC{'threads.pm'} and not exists $INC{'forks.pm'})
|
815
|
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)
|
817
|
0 |
0 |
if $self->_warnings_is_enabled
|
818
|
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 |
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 |
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 ? :
|