Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux/Moose/Meta/Mixin/AttributeCore.pm |
Statements | Executed 26 statements in 384µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 9µs | 9µs | BEGIN@2 | Moose::Meta::Mixin::AttributeCore::
1 | 1 | 1 | 9µs | 14µs | BEGIN@9 | Moose::Meta::Mixin::AttributeCore::
1 | 1 | 1 | 8µs | 26µs | BEGIN@10 | Moose::Meta::Mixin::AttributeCore::
1 | 1 | 1 | 8µs | 74µs | BEGIN@12 | Moose::Meta::Mixin::AttributeCore::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moose::Meta::Mixin::AttributeCore; | ||||
2 | # spent 9µs within Moose::Meta::Mixin::AttributeCore::BEGIN@2 which was called:
# once (9µs+0s) by base::import at line 4 | ||||
3 | 1 | 5µs | $Moose::Meta::Mixin::AttributeCore::AUTHORITY = 'cpan:STEVAN'; | ||
4 | 1 | 24µs | 1 | 9µs | } # spent 9µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@2 |
5 | { | ||||
6 | 2 | 1µs | $Moose::Meta::Mixin::AttributeCore::VERSION = '2.0602'; | ||
7 | } | ||||
8 | |||||
9 | 3 | 26µs | 2 | 20µs | # spent 14µs (9+5) within Moose::Meta::Mixin::AttributeCore::BEGIN@9 which was called:
# once (9µs+5µs) by base::import at line 9 # spent 14µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@9
# spent 5µs making 1 call to strict::import |
10 | 3 | 21µs | 2 | 44µs | # spent 26µs (8+18) within Moose::Meta::Mixin::AttributeCore::BEGIN@10 which was called:
# once (8µs+18µs) by base::import at line 10 # spent 26µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@10
# spent 18µs making 1 call to warnings::import |
11 | |||||
12 | 3 | 215µs | 2 | 74µs | # spent 74µs (8+66) within Moose::Meta::Mixin::AttributeCore::BEGIN@12 which was called:
# once (8µs+66µs) by base::import at line 12 # spent 74µs making 1 call to Moose::Meta::Mixin::AttributeCore::BEGIN@12
# spent 66µs making 1 call to base::import, recursion: max depth 1, sum of overlapping time 66µs |
13 | |||||
14 | 1 | 10µs | 3 | 880µs | __PACKAGE__->meta->add_attribute( # spent 445µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 428µs making 1 call to Class::MOP::Mixin::meta
# spent 7µs making 1 call to Class::MOP::_definition_context |
15 | 'isa' => ( | ||||
16 | reader => '_isa_metadata', | ||||
17 | Class::MOP::_definition_context(), | ||||
18 | ) | ||||
19 | ); | ||||
20 | |||||
21 | 1 | 5µs | 3 | 296µs | __PACKAGE__->meta->add_attribute( # spent 279µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 13µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
22 | 'does' => ( | ||||
23 | reader => '_does_metadata', | ||||
24 | Class::MOP::_definition_context(), | ||||
25 | ) | ||||
26 | ); | ||||
27 | |||||
28 | 1 | 4µs | 3 | 273µs | __PACKAGE__->meta->add_attribute( # spent 259µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
29 | 'is' => ( | ||||
30 | reader => '_is_metadata', | ||||
31 | Class::MOP::_definition_context(), | ||||
32 | ) | ||||
33 | ); | ||||
34 | |||||
35 | 1 | 4µs | 3 | 282µs | __PACKAGE__->meta->add_attribute( # spent 268µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
36 | 'required' => ( | ||||
37 | reader => 'is_required', | ||||
38 | Class::MOP::_definition_context(), | ||||
39 | ) | ||||
40 | ); | ||||
41 | |||||
42 | 1 | 4µs | 3 | 277µs | __PACKAGE__->meta->add_attribute( # spent 263µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
43 | 'lazy' => ( | ||||
44 | reader => 'is_lazy', Class::MOP::_definition_context(), | ||||
45 | ) | ||||
46 | ); | ||||
47 | |||||
48 | 1 | 4µs | 3 | 294µs | __PACKAGE__->meta->add_attribute( # spent 280µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
49 | 'lazy_build' => ( | ||||
50 | reader => 'is_lazy_build', | ||||
51 | Class::MOP::_definition_context(), | ||||
52 | ) | ||||
53 | ); | ||||
54 | |||||
55 | 1 | 4µs | 3 | 278µs | __PACKAGE__->meta->add_attribute( # spent 265µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
56 | 'coerce' => ( | ||||
57 | reader => 'should_coerce', | ||||
58 | Class::MOP::_definition_context(), | ||||
59 | ) | ||||
60 | ); | ||||
61 | |||||
62 | 1 | 4µs | 3 | 286µs | __PACKAGE__->meta->add_attribute( # spent 272µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
63 | 'weak_ref' => ( | ||||
64 | reader => 'is_weak_ref', | ||||
65 | Class::MOP::_definition_context(), | ||||
66 | ) | ||||
67 | ); | ||||
68 | |||||
69 | 1 | 4µs | 3 | 283µs | __PACKAGE__->meta->add_attribute( # spent 269µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
70 | 'auto_deref' => ( | ||||
71 | reader => 'should_auto_deref', | ||||
72 | Class::MOP::_definition_context(), | ||||
73 | ) | ||||
74 | ); | ||||
75 | |||||
76 | 1 | 5µs | 3 | 438µs | __PACKAGE__->meta->add_attribute( # spent 424µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
77 | 'type_constraint' => ( | ||||
78 | reader => 'type_constraint', | ||||
79 | predicate => 'has_type_constraint', | ||||
80 | Class::MOP::_definition_context(), | ||||
81 | ) | ||||
82 | ); | ||||
83 | |||||
84 | 1 | 4µs | 3 | 429µs | __PACKAGE__->meta->add_attribute( # spent 415µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
85 | 'trigger' => ( | ||||
86 | reader => 'trigger', | ||||
87 | predicate => 'has_trigger', | ||||
88 | Class::MOP::_definition_context(), | ||||
89 | ) | ||||
90 | ); | ||||
91 | |||||
92 | 1 | 4µs | 3 | 590µs | __PACKAGE__->meta->add_attribute( # spent 576µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
93 | 'handles' => ( | ||||
94 | reader => 'handles', | ||||
95 | writer => '_set_handles', | ||||
96 | predicate => 'has_handles', | ||||
97 | Class::MOP::_definition_context(), | ||||
98 | ) | ||||
99 | ); | ||||
100 | |||||
101 | 1 | 4µs | 3 | 431µs | __PACKAGE__->meta->add_attribute( # spent 416µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 10µs making 1 call to Class::MOP::Mixin::meta
# spent 4µs making 1 call to Class::MOP::_definition_context |
102 | 'documentation' => ( | ||||
103 | reader => 'documentation', | ||||
104 | predicate => 'has_documentation', | ||||
105 | Class::MOP::_definition_context(), | ||||
106 | ) | ||||
107 | ); | ||||
108 | |||||
109 | 1 | 32µs | 1; | ||
110 | |||||
111 | # ABSTRACT: Core attributes shared by attribute metaclasses | ||||
112 | |||||
- - | |||||
115 | =pod | ||||
116 | |||||
117 | =head1 NAME | ||||
118 | |||||
119 | Moose::Meta::Mixin::AttributeCore - Core attributes shared by attribute metaclasses | ||||
120 | |||||
121 | =head1 VERSION | ||||
122 | |||||
123 | version 2.0602 | ||||
124 | |||||
125 | =head1 DESCRIPTION | ||||
126 | |||||
127 | This class implements the core attributes (aka properties) shared by all Moose | ||||
128 | attributes. See the L<Moose::Meta::Attribute> documentation for API details. | ||||
129 | |||||
130 | =head1 BUGS | ||||
131 | |||||
132 | See L<Moose/BUGS> for details on reporting bugs. | ||||
133 | |||||
134 | =head1 AUTHOR | ||||
135 | |||||
136 | Moose is maintained by the Moose Cabal, along with the help of many contributors. See L<Moose/CABAL> and L<Moose/CONTRIBUTORS> for details. | ||||
137 | |||||
138 | =head1 COPYRIGHT AND LICENSE | ||||
139 | |||||
140 | This software is copyright (c) 2012 by Infinity Interactive, Inc.. | ||||
141 | |||||
142 | This is free software; you can redistribute it and/or modify it under | ||||
143 | the same terms as the Perl 5 programming language system itself. | ||||
144 | |||||
145 | =cut | ||||
146 | |||||
147 | |||||
148 | __END__ |