← Index
NYTProf Performance Profile   « line view »
For /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/bin/perlcritic
  Run on Sat Mar 19 22:12:22 2016
Reported on Sat Mar 19 22:14:11 2016

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/Perl/Critic/Exception/Configuration/Option/Policy.pm
StatementsExecuted 12 statements in 334µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11124µs24µsPerl::Critic::Exception::Configuration::Option::Policy::::BEGIN@10Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@10
11116µs358µsPerl::Critic::Exception::Configuration::Option::Policy::::BEGIN@20Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@20
11113µs186µsPerl::Critic::Exception::Configuration::Option::Policy::::BEGIN@14Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@14
1118µs12µsPerl::Critic::Exception::Configuration::Option::Policy::::BEGIN@12Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@12
1117µs18µsPerl::Critic::Exception::Configuration::Option::Policy::::BEGIN@11Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@11
0000s0sPerl::Critic::Exception::Configuration::Option::Policy::::newPerl::Critic::Exception::Configuration::Option::Policy::new
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1##############################################################################
2# $URL$
3# $Date$
4# $Author$
5# $Revision$
6##############################################################################
7
8package Perl::Critic::Exception::Configuration::Option::Policy;
9
10238µs124µs
# spent 24µs within Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@10 which was called: # once (24µs+0s) by base::import at line 10
use 5.006001;
11232µs230µs
# spent 18µs (7+11) within Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@11 which was called: # once (7µs+11µs) by base::import at line 11
use strict;
# spent 18µs making 1 call to Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@11 # spent 11µs making 1 call to strict::import
12261µs215µs
# spent 12µs (8+4) within Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@12 which was called: # once (8µs+4µs) by base::import at line 12
use warnings;
# spent 12µs making 1 call to Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@12 # spent 4µs making 1 call to warnings::import
13
14286µs2359µs
# spent 186µs (13+173) within Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@14 which was called: # once (13µs+173µs) by base::import at line 14
use Perl::Critic::Utils qw{ &policy_short_name };
# spent 186µs making 1 call to Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@14 # spent 173µs making 1 call to Exporter::import
15
161500nsour $VERSION = '1.121';
17
18#-----------------------------------------------------------------------------
19
20
# spent 358µs (16+342) within Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@20 which was called: # once (16µs+342µs) by base::import at line 26
use Exception::Class (
211500ns 'Perl::Critic::Exception::Configuration::Option::Policy' => {
22 isa => 'Perl::Critic::Exception::Configuration::Option',
23 description => 'A problem with the configuration of a policy.',
24 fields => [ qw{ policy } ],
25 },
261114µs2358µs);
# spent 358µs making 1 call to Perl::Critic::Exception::Configuration::Option::Policy::BEGIN@20 # spent 342µs making 1 call to Exception::Class::import, recursion: max depth 1, sum of overlapping time 342µs
27
28#-----------------------------------------------------------------------------
29
30sub new {
31 my ($class, %options) = @_;
32
33 my $policy = $options{policy};
34 if ($policy) {
35 $options{policy} = policy_short_name($policy);
36 }
37
38 return $class->SUPER::new(%options);
39}
40
41
4214µs1;
43
44__END__