| File | /usr/local/lib/perl5/site_perl/5.10.1/MooseX/AttributeHelpers/Counter.pm |
| Statements Executed | 12 |
| Statement Execution Time | 174µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 15µs | 2.24ms | MooseX::AttributeHelpers::Counter::BEGIN@3 |
| 1 | 1 | 1 | 8µs | 96µs | MooseX::AttributeHelpers::Counter::BEGIN@12 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Attribute::Custom::Counter::register_implementation |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | |||||
| 2 | package MooseX::AttributeHelpers::Counter; | ||||
| 3 | 3 | 60µs | 2 | 4.47ms | # spent 2.24ms (15µs+2.23) within MooseX::AttributeHelpers::Counter::BEGIN@3 which was called
# once (15µs+2.23ms) by MooseX::AttributeHelpers::BEGIN@23 at line 3 # spent 2.24ms making 1 call to MooseX::AttributeHelpers::Counter::BEGIN@3
# spent 2.23ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:389] |
| 4 | |||||
| 5 | 1 | 600ns | our $VERSION = '0.23'; | ||
| 6 | 1 | 19µs | $VERSION = eval $VERSION; | ||
| 7 | 1 | 400ns | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 8 | |||||
| 9 | 1 | 2µs | 1 | 383µs | extends 'Moose::Meta::Attribute'; # spent 383µs making 1 call to Moose::extends |
| 10 | 1 | 2µs | 1 | 10.5ms | with 'MooseX::AttributeHelpers::Trait::Counter'; # spent 10.5ms making 1 call to Moose::with |
| 11 | |||||
| 12 | 3 | 61µs | 2 | 184µs | # spent 96µs (8+88) within MooseX::AttributeHelpers::Counter::BEGIN@12 which was called
# once (8µs+88µs) by MooseX::AttributeHelpers::BEGIN@23 at line 12 # spent 96µs making 1 call to MooseX::AttributeHelpers::Counter::BEGIN@12
# spent 88µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:478] |
| 13 | |||||
| 14 | # register the alias ... | ||||
| 15 | package # hide me from search.cpan.org | ||||
| 16 | Moose::Meta::Attribute::Custom::Counter; | ||||
| 17 | sub register_implementation { 'MooseX::AttributeHelpers::Counter' } | ||||
| 18 | |||||
| 19 | 1 | 30µs | 1; | ||
| 20 | |||||
| 21 | __END__ | ||||
| 22 | |||||
| 23 | =pod | ||||
| 24 | |||||
| 25 | =head1 NAME | ||||
| 26 | |||||
| 27 | MooseX::AttributeHelpers::Counter | ||||
| 28 | |||||
| 29 | =head1 METHODS | ||||
| 30 | |||||
| 31 | =over 4 | ||||
| 32 | |||||
| 33 | =item B<meta> | ||||
| 34 | |||||
| 35 | =item B<method_provider> | ||||
| 36 | |||||
| 37 | =item B<has_method_provider> | ||||
| 38 | |||||
| 39 | =item B<helper_type> | ||||
| 40 | |||||
| 41 | =item B<process_options_for_provides> | ||||
| 42 | |||||
| 43 | Run before its superclass method. | ||||
| 44 | |||||
| 45 | =item B<check_provides_values> | ||||
| 46 | |||||
| 47 | Run after its superclass method. | ||||
| 48 | |||||
| 49 | =back | ||||
| 50 | |||||
| 51 | =head1 BUGS | ||||
| 52 | |||||
| 53 | All complex software has bugs lurking in it, and this module is no | ||||
| 54 | exception. If you find a bug please either email me, or add the bug | ||||
| 55 | to cpan-RT. | ||||
| 56 | |||||
| 57 | =head1 AUTHOR | ||||
| 58 | |||||
| 59 | Stevan Little E<lt>stevan@iinteractive.comE<gt> | ||||
| 60 | |||||
| 61 | =head1 COPYRIGHT AND LICENSE | ||||
| 62 | |||||
| 63 | Copyright 2007-2009 by Infinity Interactive, Inc. | ||||
| 64 | |||||
| 65 | L<http://www.iinteractive.com> | ||||
| 66 | |||||
| 67 | This library is free software; you can redistribute it and/or modify | ||||
| 68 | it under the same terms as Perl itself. | ||||
| 69 | |||||
| 70 | =cut | ||||
| 71 |