Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/Perl/Critic/PolicyParameter/Behavior.pm |
Statements | Executed 20 statements in 211µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 15µs | 15µs | BEGIN@10 | Perl::Critic::PolicyParameter::Behavior::
1 | 1 | 1 | 10µs | 13µs | BEGIN@12 | Perl::Critic::PolicyParameter::Behavior::
5 | 1 | 1 | 9µs | 9µs | new | Perl::Critic::PolicyParameter::Behavior::
1 | 1 | 1 | 7µs | 274µs | BEGIN@14 | Perl::Critic::PolicyParameter::Behavior::
1 | 1 | 1 | 6µs | 17µs | BEGIN@11 | Perl::Critic::PolicyParameter::Behavior::
0 | 0 | 0 | 0s | 0s | generate_parameter_description | Perl::Critic::PolicyParameter::Behavior::
0 | 0 | 0 | 0s | 0s | initialize_parameter | Perl::Critic::PolicyParameter::Behavior::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | ############################################################################## | ||||
2 | # $URL$ | ||||
3 | # $Date$ | ||||
4 | # $Author$ | ||||
5 | # $Revision$ | ||||
6 | ############################################################################## | ||||
7 | |||||
8 | package Perl::Critic::PolicyParameter::Behavior; | ||||
9 | |||||
10 | 2 | 38µs | 1 | 15µs | # spent 15µs within Perl::Critic::PolicyParameter::Behavior::BEGIN@10 which was called:
# once (15µs+0s) by Perl::Critic::PolicyParameter::BEGIN@23 at line 10 # spent 15µs making 1 call to Perl::Critic::PolicyParameter::Behavior::BEGIN@10 |
11 | 2 | 18µs | 2 | 28µs | # spent 17µs (6+11) within Perl::Critic::PolicyParameter::Behavior::BEGIN@11 which was called:
# once (6µs+11µs) by Perl::Critic::PolicyParameter::BEGIN@23 at line 11 # spent 17µs making 1 call to Perl::Critic::PolicyParameter::Behavior::BEGIN@11
# spent 11µs making 1 call to strict::import |
12 | 2 | 23µs | 2 | 17µs | # spent 13µs (10+4) within Perl::Critic::PolicyParameter::Behavior::BEGIN@12 which was called:
# once (10µs+4µs) by Perl::Critic::PolicyParameter::BEGIN@23 at line 12 # spent 13µs making 1 call to Perl::Critic::PolicyParameter::Behavior::BEGIN@12
# spent 4µs making 1 call to warnings::import |
13 | |||||
14 | 2 | 115µs | 2 | 541µs | # spent 274µs (7+267) within Perl::Critic::PolicyParameter::Behavior::BEGIN@14 which was called:
# once (7µs+267µs) by Perl::Critic::PolicyParameter::BEGIN@23 at line 14 # spent 274µs making 1 call to Perl::Critic::PolicyParameter::Behavior::BEGIN@14
# spent 267µs making 1 call to Exporter::import |
15 | |||||
16 | 1 | 600ns | our $VERSION = '1.121'; | ||
17 | |||||
18 | #----------------------------------------------------------------------------- | ||||
19 | |||||
20 | # spent 9µs within Perl::Critic::PolicyParameter::Behavior::new which was called 5 times, avg 2µs/call:
# 5 times (9µs+0s) by Perl::Critic::Policy::BEGIN@45 at line 42 of Perl/Critic/PolicyParameter.pm, avg 2µs/call | ||||
21 | 5 | 1µs | my $class = shift; | ||
22 | |||||
23 | 5 | 13µs | return bless {}, $class; | ||
24 | } | ||||
25 | |||||
26 | #----------------------------------------------------------------------------- | ||||
27 | |||||
28 | sub initialize_parameter { | ||||
29 | my ($self, $parameter, $specification) = @_; | ||||
30 | |||||
31 | return; | ||||
32 | } | ||||
33 | |||||
34 | #----------------------------------------------------------------------------- | ||||
35 | |||||
36 | sub generate_parameter_description { | ||||
37 | my ($self, $parameter) = @_; | ||||
38 | |||||
39 | return $parameter->_get_description_with_trailing_period(); | ||||
40 | } | ||||
41 | |||||
42 | #----------------------------------------------------------------------------- | ||||
43 | |||||
44 | 1 | 2µs | 1; | ||
45 | |||||
46 | __END__ |