Filename | /home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/x86_64-linux/Moose/Meta/Role/Method/Conflicting.pm |
Statements | Executed 11 statements in 116µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 9µs | 10µs | BEGIN@4 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 4µs | 88µs | BEGIN@7 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 4µs | 19µs | BEGIN@9 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 4µs | 7µs | BEGIN@5 | 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 | package Moose::Meta::Role::Method::Conflicting; | ||||
2 | 1 | 200ns | our $VERSION = '2.1605'; | ||
3 | |||||
4 | 2 | 14µs | 2 | 12µs | # spent 10µs (9+1) within Moose::Meta::Role::Method::Conflicting::BEGIN@4 which was called:
# once (9µs+1µs) by Moose::Meta::Role::BEGIN@14 at line 4 # spent 10µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@4
# spent 1µs making 1 call to strict::import |
5 | 2 | 12µs | 2 | 10µs | # spent 7µs (4+3) within Moose::Meta::Role::Method::Conflicting::BEGIN@5 which was called:
# once (4µs+3µs) by Moose::Meta::Role::BEGIN@14 at line 5 # spent 7µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@5
# spent 3µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 19µs | 2 | 170µs | # spent 88µs (4+83) within Moose::Meta::Role::Method::Conflicting::BEGIN@7 which was called:
# once (4µs+83µs) by Moose::Meta::Role::BEGIN@14 at line 7 # spent 88µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@7
# spent 83µs making 1 call to Sub::Exporter::__ANON__[Sub/Exporter.pm:337] |
8 | |||||
9 | 2 | 64µs | 2 | 34µs | # spent 19µs (4+15) within Moose::Meta::Role::Method::Conflicting::BEGIN@9 which was called:
# once (4µs+15µs) by Moose::Meta::Role::BEGIN@14 at line 9 # spent 19µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@9
# spent 15µs making 1 call to parent::import |
10 | |||||
11 | 1 | 4µs | 3 | 362µs | __PACKAGE__->meta->add_attribute('roles' => ( # spent 190µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 169µs making 1 call to Moose::Meta::Role::Method::Required::meta
# spent 3µs making 1 call to Class::MOP::_definition_context |
12 | reader => 'roles', | ||||
13 | required => 1, | ||||
14 | Class::MOP::_definition_context(), | ||||
15 | )); | ||||
16 | |||||
17 | sub roles_as_english_list { | ||||
18 | my $self = shift; | ||||
19 | Moose::Util::english_list( map { q{'} . $_ . q{'} } @{ $self->roles } ); | ||||
20 | } | ||||
21 | |||||
22 | 1 | 4µs | 1; | ||
23 | |||||
24 | # ABSTRACT: A Moose metaclass for conflicting methods in Roles | ||||
25 | |||||
26 | __END__ |