| Filename | /Users/ap13/perl5/lib/perl5/darwin-2level/Moose/Meta/Role/Method/Conflicting.pm |
| Statements | Executed 11 statements in 269µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 20µs | 37µs | Moose::Meta::Role::Method::Conflicting::BEGIN@4 |
| 1 | 1 | 1 | 16µs | 178µs | Moose::Meta::Role::Method::Conflicting::BEGIN@7 |
| 1 | 1 | 1 | 16µs | 59µs | Moose::Meta::Role::Method::Conflicting::BEGIN@9 |
| 1 | 1 | 1 | 11µs | 17µs | Moose::Meta::Role::Method::Conflicting::BEGIN@5 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Role::Method::Conflicting::roles_as_english_list |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Role::Method::Conflicting; | ||||
| 2 | 1 | 700ns | our $VERSION = '2.1403'; | ||
| 3 | |||||
| 4 | 2 | 27µs | 2 | 54µs | # spent 37µs (20+17) within Moose::Meta::Role::Method::Conflicting::BEGIN@4 which was called:
# once (20µs+17µs) by Moose::Meta::Role::BEGIN@14 at line 4 # spent 37µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@4
# spent 17µs making 1 call to strict::import |
| 5 | 2 | 24µs | 2 | 24µs | # spent 17µs (11+6) within Moose::Meta::Role::Method::Conflicting::BEGIN@5 which was called:
# once (11µs+6µs) by Moose::Meta::Role::BEGIN@14 at line 5 # spent 17µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@5
# spent 6µs making 1 call to warnings::import |
| 6 | |||||
| 7 | 2 | 54µs | 2 | 339µs | # spent 178µs (16+162) within Moose::Meta::Role::Method::Conflicting::BEGIN@7 which was called:
# once (16µs+162µs) by Moose::Meta::Role::BEGIN@14 at line 7 # spent 178µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@7
# spent 162µs making 1 call to Sub::Exporter::__ANON__[Sub/Exporter.pm:337] |
| 8 | |||||
| 9 | 2 | 146µs | 2 | 103µs | # spent 59µs (16+44) within Moose::Meta::Role::Method::Conflicting::BEGIN@9 which was called:
# once (16µs+44µs) by Moose::Meta::Role::BEGIN@14 at line 9 # spent 59µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@9
# spent 44µs making 1 call to parent::import |
| 10 | |||||
| 11 | 1 | 9µs | 3 | 839µs | __PACKAGE__->meta->add_attribute('roles' => ( # spent 419µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute
# spent 411µs making 1 call to Moose::Meta::Role::Method::Required::meta
# spent 8µ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 | 6µs | 1; | ||
| 23 | |||||
| 24 | # ABSTRACT: A Moose metaclass for conflicting methods in Roles | ||||
| 25 | |||||
| 26 | __END__ |