Filename | /Users/dde/perl5/perlbrew/perls/5.18.0t/lib/site_perl/5.18.0/darwin-thread-multi-2level/Moose/Meta/Role/Method/Conflicting.pm |
Statements | Executed 13 statements in 224µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 9µs | 9µs | BEGIN@3 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 6µs | 122µs | BEGIN@13 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 6µs | 17µs | BEGIN@10 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 6µs | 72µs | BEGIN@15 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 6µs | 9µs | BEGIN@11 | Moose::Meta::Role::Method::Conflicting::
0 | 0 | 0 | 0s | 0s | roles_as_english_list | Moose::Meta::Role::Method::Conflicting::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | |||||
2 | package Moose::Meta::Role::Method::Conflicting; | ||||
3 | # spent 9µs within Moose::Meta::Role::Method::Conflicting::BEGIN@3 which was called:
# once (9µs+0s) by Moose::Meta::Role::BEGIN@22 at line 5 | ||||
4 | 1 | 4µs | $Moose::Meta::Role::Method::Conflicting::AUTHORITY = 'cpan:STEVAN'; | ||
5 | 1 | 38µs | 1 | 9µs | } # spent 9µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@3 |
6 | { | ||||
7 | 2 | 800ns | $Moose::Meta::Role::Method::Conflicting::VERSION = '2.1005'; | ||
8 | } | ||||
9 | |||||
10 | 2 | 20µs | 2 | 27µs | # spent 17µs (6+10) within Moose::Meta::Role::Method::Conflicting::BEGIN@10 which was called:
# once (6µs+10µs) by Moose::Meta::Role::BEGIN@22 at line 10 # spent 17µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@10
# spent 10µs making 1 call to strict::import |
11 | 2 | 23µs | 2 | 12µs | # spent 9µs (6+3) within Moose::Meta::Role::Method::Conflicting::BEGIN@11 which was called:
# once (6µs+3µs) by Moose::Meta::Role::BEGIN@22 at line 11 # spent 9µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@11
# spent 3µs making 1 call to warnings::import |
12 | |||||
13 | 2 | 26µs | 2 | 236µs | # spent 122µs (6+115) within Moose::Meta::Role::Method::Conflicting::BEGIN@13 which was called:
# once (6µs+115µs) by Moose::Meta::Role::BEGIN@22 at line 13 # spent 122µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@13
# spent 115µs making 1 call to Sub::Exporter::__ANON__[Sub/Exporter.pm:337] |
14 | |||||
15 | 2 | 102µs | 2 | 137µs | # spent 72µs (6+65) within Moose::Meta::Role::Method::Conflicting::BEGIN@15 which was called:
# once (6µs+65µs) by Moose::Meta::Role::BEGIN@22 at line 15 # spent 72µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@15
# spent 65µs making 1 call to base::import |
16 | |||||
17 | 1 | 5µs | 3 | 546µs | __PACKAGE__->meta->add_attribute('roles' => ( # spent 276µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 265µs making 1 call to Moose::Meta::Role::Method::Required::meta
# spent 5µs making 1 call to Class::MOP::_definition_context |
18 | reader => 'roles', | ||||
19 | required => 1, | ||||
20 | Class::MOP::_definition_context(), | ||||
21 | )); | ||||
22 | |||||
23 | sub roles_as_english_list { | ||||
24 | my $self = shift; | ||||
25 | Moose::Util::english_list( map { q{'} . $_ . q{'} } @{ $self->roles } ); | ||||
26 | } | ||||
27 | |||||
28 | 1 | 4µs | 1; | ||
29 | |||||
30 | # ABSTRACT: A Moose metaclass for conflicting methods in Roles | ||||
31 | |||||
32 | __END__ |