Filename | /usr/local/lib/perl/5.18.2/Moose/Meta/Role/Method/Conflicting.pm |
Statements | Executed 11 statements in 178µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 9µs | 19µs | BEGIN@4 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 7µs | 25µs | BEGIN@9 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 7µs | 113µs | BEGIN@7 | Moose::Meta::Role::Method::Conflicting::
1 | 1 | 1 | 6µs | 9µ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 | 600ns | our $VERSION = '2.1604'; | ||
3 | |||||
4 | 2 | 19µs | 2 | 29µs | # spent 19µs (9+10) within Moose::Meta::Role::Method::Conflicting::BEGIN@4 which was called:
# once (9µs+10µs) by Moose::Meta::Role::BEGIN@14 at line 4 # spent 19µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@4
# spent 10µs making 1 call to strict::import |
5 | 2 | 20µs | 2 | 12µs | # spent 9µs (6+3) within Moose::Meta::Role::Method::Conflicting::BEGIN@5 which was called:
# once (6µs+3µs) by Moose::Meta::Role::BEGIN@14 at line 5 # spent 9µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@5
# spent 3µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 29µs | 2 | 220µs | # spent 113µs (7+106) within Moose::Meta::Role::Method::Conflicting::BEGIN@7 which was called:
# once (7µs+106µs) by Moose::Meta::Role::BEGIN@14 at line 7 # spent 113µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@7
# spent 106µs making 1 call to Sub::Exporter::__ANON__[Sub/Exporter.pm:337] |
8 | |||||
9 | 2 | 89µs | 2 | 42µs | # spent 25µs (7+17) within Moose::Meta::Role::Method::Conflicting::BEGIN@9 which was called:
# once (7µs+17µs) by Moose::Meta::Role::BEGIN@14 at line 9 # spent 25µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@9
# spent 17µs making 1 call to parent::import |
10 | |||||
11 | 1 | 16µs | 3 | 5.71ms | __PACKAGE__->meta->add_attribute('roles' => ( # spent 5.46ms making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 243µs making 1 call to Moose::Meta::Role::Method::Required::meta
# spent 4µ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 | 5µs | 1; | ||
23 | |||||
24 | # ABSTRACT: A Moose metaclass for conflicting methods in Roles | ||||
25 | |||||
26 | __END__ |