← 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/Utils/Constants.pm
StatementsExecuted 27 statements in 337µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11117µs17µsPerl::Critic::Utils::Constants::::BEGIN@10Perl::Critic::Utils::Constants::BEGIN@10
1117µs13µsPerl::Critic::Utils::Constants::::BEGIN@17Perl::Critic::Utils::Constants::BEGIN@17
1117µs12µsPerl::Critic::Utils::Constants::::BEGIN@12Perl::Critic::Utils::Constants::BEGIN@12
1117µs29µsPerl::Critic::Utils::Constants::::BEGIN@13Perl::Critic::Utils::Constants::BEGIN@13
1117µs20µsPerl::Critic::Utils::Constants::::BEGIN@11Perl::Critic::Utils::Constants::BEGIN@11
1116µs72µsPerl::Critic::Utils::Constants::::BEGIN@15Perl::Critic::Utils::Constants::BEGIN@15
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::Utils::Constants;
9
10240µs117µs
# spent 17µs within Perl::Critic::Utils::Constants::BEGIN@10 which was called: # once (17µs+0s) by Perl::Critic::Command::BEGIN@26 at line 10
use 5.006001;
# spent 17µs making 1 call to Perl::Critic::Utils::Constants::BEGIN@10
11219µs233µs
# spent 20µs (7+13) within Perl::Critic::Utils::Constants::BEGIN@11 which was called: # once (7µs+13µs) by Perl::Critic::Command::BEGIN@26 at line 11
use strict;
# spent 20µs making 1 call to Perl::Critic::Utils::Constants::BEGIN@11 # spent 13µs making 1 call to strict::import
12218µs217µs
# spent 12µs (7+5) within Perl::Critic::Utils::Constants::BEGIN@12 which was called: # once (7µs+5µs) by Perl::Critic::Command::BEGIN@26 at line 12
use warnings;
# spent 12µs making 1 call to Perl::Critic::Utils::Constants::BEGIN@12 # spent 5µs making 1 call to warnings::import
13222µs251µs
# spent 29µs (7+22) within Perl::Critic::Utils::Constants::BEGIN@13 which was called: # once (7µs+22µs) by Perl::Critic::Command::BEGIN@26 at line 13
use Readonly;
# spent 29µs making 1 call to Perl::Critic::Utils::Constants::BEGIN@13 # spent 22µs making 1 call to Exporter::import
14
15223µs2137µs
# spent 72µs (6+65) within Perl::Critic::Utils::Constants::BEGIN@15 which was called: # once (6µs+65µs) by Perl::Critic::Command::BEGIN@26 at line 15
use Perl::Critic::Utils qw{ $EMPTY hashify };
# spent 72µs making 1 call to Perl::Critic::Utils::Constants::BEGIN@15 # spent 65µs making 1 call to Exporter::import
16
172188µs218µs
# spent 13µs (7+6) within Perl::Critic::Utils::Constants::BEGIN@17 which was called: # once (7µs+6µs) by Perl::Critic::Command::BEGIN@26 at line 17
use Exporter 'import';
# spent 13µs making 1 call to Perl::Critic::Utils::Constants::BEGIN@17 # spent 6µs making 1 call to Exporter::import
18
191600nsour $VERSION = '1.121';
20
21#-----------------------------------------------------------------------------
22
2312µsour @EXPORT_OK = qw{
24 $PROFILE_STRICTNESS_WARN
25 $PROFILE_STRICTNESS_FATAL
26 $PROFILE_STRICTNESS_QUIET
27 $PROFILE_STRICTNESS_DEFAULT
28 %PROFILE_STRICTNESSES
29 $PROFILE_COLOR_SEVERITY_HIGHEST_DEFAULT
30 $PROFILE_COLOR_SEVERITY_HIGH_DEFAULT
31 $PROFILE_COLOR_SEVERITY_MEDIUM_DEFAULT
32 $PROFILE_COLOR_SEVERITY_LOW_DEFAULT
33 $PROFILE_COLOR_SEVERITY_LOWEST_DEFAULT
34 $_MODULE_VERSION_TERM_ANSICOLOR
35};
36
3714µsour %EXPORT_TAGS = (
38 all => \@EXPORT_OK,
39 profile_strictness => [
40 qw{
41 $PROFILE_STRICTNESS_WARN
42 $PROFILE_STRICTNESS_FATAL
43 $PROFILE_STRICTNESS_QUIET
44 $PROFILE_STRICTNESS_DEFAULT
45 %PROFILE_STRICTNESSES
46 }
47 ],
48 color_severity => [
49 qw{
50 $PROFILE_COLOR_SEVERITY_HIGHEST_DEFAULT
51 $PROFILE_COLOR_SEVERITY_HIGH_DEFAULT
52 $PROFILE_COLOR_SEVERITY_MEDIUM_DEFAULT
53 $PROFILE_COLOR_SEVERITY_LOW_DEFAULT
54 $PROFILE_COLOR_SEVERITY_LOWEST_DEFAULT
55 }
56 ],
57);
58
59#-----------------------------------------------------------------------------
60
6112µs130µsReadonly::Scalar our $PROFILE_STRICTNESS_WARN => 'warn';
# spent 30µs making 1 call to Readonly::Scalar
621900ns122µsReadonly::Scalar our $PROFILE_STRICTNESS_FATAL => 'fatal';
# spent 22µs making 1 call to Readonly::Scalar
631800ns121µsReadonly::Scalar our $PROFILE_STRICTNESS_QUIET => 'quiet';
# spent 21µs making 1 call to Readonly::Scalar
641900ns127µsReadonly::Scalar our $PROFILE_STRICTNESS_DEFAULT => $PROFILE_STRICTNESS_WARN;
# spent 27µs making 1 call to Readonly::Scalar
65
6613µs240µsReadonly::Hash our %PROFILE_STRICTNESSES =>
# spent 25µs making 1 call to Readonly::Hash # spent 15µs making 1 call to Perl::Critic::Utils::hashify
67 hashify(
68 $PROFILE_STRICTNESS_WARN,
69 $PROFILE_STRICTNESS_FATAL,
70 $PROFILE_STRICTNESS_QUIET,
71 );
72
7311µs121µsReadonly::Scalar our $PROFILE_COLOR_SEVERITY_HIGHEST_DEFAULT => 'bold red';
# spent 21µs making 1 call to Readonly::Scalar
7411µs120µsReadonly::Scalar our $PROFILE_COLOR_SEVERITY_HIGH_DEFAULT => 'magenta';
# spent 20µs making 1 call to Readonly::Scalar
7511µs124µsReadonly::Scalar our $PROFILE_COLOR_SEVERITY_MEDIUM_DEFAULT => $EMPTY;
# spent 24µs making 1 call to Readonly::Scalar
761800ns124µsReadonly::Scalar our $PROFILE_COLOR_SEVERITY_LOW_DEFAULT => $EMPTY;
# spent 24µs making 1 call to Readonly::Scalar
771800ns124µsReadonly::Scalar our $PROFILE_COLOR_SEVERITY_LOWEST_DEFAULT => $EMPTY;
# spent 24µs making 1 call to Readonly::Scalar
78
79# If the following changes, the corresponding change needs to be made in
80# inc/Perl/Critic/BuildUtilities.pm, sub recommended_module_versions().
811800ns120µsReadonly::Scalar our $_MODULE_VERSION_TERM_ANSICOLOR => 2.02;
# spent 20µs making 1 call to Readonly::Scalar
82
83#-----------------------------------------------------------------------------
84
8519µs1;
86
87__END__