line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Counter::inc; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2206'; |
3
|
|
|
|
|
|
|
|
4
|
4
|
|
|
4
|
|
2650
|
use strict; |
|
4
|
|
|
|
|
15
|
|
|
4
|
|
|
|
|
144
|
|
5
|
4
|
|
|
4
|
|
24
|
use warnings; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
124
|
|
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
4
|
|
21
|
use Moose::Role; |
|
4
|
|
|
|
|
18
|
|
|
4
|
|
|
|
|
44
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
16
|
|
|
16
|
|
49
|
sub _minimum_arguments { 0 } |
12
|
16
|
|
|
16
|
|
44
|
sub _maximum_arguments { 1 } |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub _potential_value { |
15
|
16
|
|
|
16
|
|
39
|
my $self = shift; |
16
|
16
|
|
|
|
|
51
|
my ($slot_access) = @_; |
17
|
|
|
|
|
|
|
|
18
|
16
|
|
|
|
|
54
|
return $slot_access . ' + (defined $_[0] ? $_[0] : 1)'; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub _inline_optimized_set_new_value { |
22
|
8
|
|
|
8
|
|
20
|
my $self = shift; |
23
|
8
|
|
|
|
|
24
|
my ($inv, $new, $slot_access) = @_; |
24
|
|
|
|
|
|
|
|
25
|
8
|
|
|
|
|
47
|
return $slot_access . ' += defined $_[0] ? $_[0] : 1;'; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
4
|
|
|
4
|
|
32
|
no Moose::Role; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
20
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |