| Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/Perl/Critic/OptionsProcessor.pm |
| Statements | Executed 96 statements in 1.37ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 287µs | 623µs | Perl::Critic::OptionsProcessor::BEGIN@17 |
| 1 | 1 | 1 | 122µs | 377µs | Perl::Critic::OptionsProcessor::_init |
| 1 | 1 | 1 | 18µs | 18µs | Perl::Critic::OptionsProcessor::BEGIN@10 |
| 1 | 1 | 1 | 12µs | 25µs | Perl::Critic::OptionsProcessor::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 127µs | Perl::Critic::OptionsProcessor::BEGIN@21 |
| 1 | 1 | 1 | 10µs | 31µs | Perl::Critic::OptionsProcessor::BEGIN@25 |
| 1 | 1 | 1 | 8µs | 3.10ms | Perl::Critic::OptionsProcessor::BEGIN@18 |
| 1 | 1 | 1 | 8µs | 386µs | Perl::Critic::OptionsProcessor::new |
| 1 | 1 | 1 | 8µs | 9µs | Perl::Critic::OptionsProcessor::_check_for_extra_options |
| 1 | 1 | 1 | 8µs | 376µs | Perl::Critic::OptionsProcessor::BEGIN@14 |
| 1 | 1 | 1 | 8µs | 20µs | Perl::Critic::OptionsProcessor::BEGIN@11 |
| 1 | 1 | 1 | 8µs | 13µs | Perl::Critic::OptionsProcessor::BEGIN@12 |
| 1 | 1 | 1 | 7µs | 7µs | Perl::Critic::OptionsProcessor::CORE:fttty (opcode) |
| 2 | 2 | 2 | 4µs | 4µs | Perl::Critic::OptionsProcessor::pager |
| 1 | 1 | 1 | 3µs | 3µs | Perl::Critic::OptionsProcessor::color_severity_high |
| 1 | 1 | 1 | 3µs | 3µs | Perl::Critic::OptionsProcessor::profile_strictness |
| 1 | 1 | 1 | 3µs | 3µs | Perl::Critic::OptionsProcessor::color_severity_low |
| 1 | 1 | 1 | 3µs | 3µs | Perl::Critic::OptionsProcessor::exclude |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::color_severity_highest |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::severity |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::theme |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::color_severity_medium |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::force |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::only |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::top |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::verbose |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::single_policy |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::color |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::include |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::program_extensions |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::allow_unsafe |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::color_severity_lowest |
| 1 | 1 | 1 | 2µs | 2µs | Perl::Critic::OptionsProcessor::criticism_fatal |
| 1 | 1 | 1 | 1µs | 1µs | Perl::Critic::OptionsProcessor::CORE:sort (opcode) |
| 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::OptionsProcessor; | ||||
| 9 | |||||
| 10 | 2 | 45µs | 1 | 18µs | # spent 18µs within Perl::Critic::OptionsProcessor::BEGIN@10 which was called:
# once (18µs+0s) by Perl::Critic::UserProfile::BEGIN@20 at line 10 # spent 18µs making 1 call to Perl::Critic::OptionsProcessor::BEGIN@10 |
| 11 | 2 | 21µs | 2 | 32µs | # spent 20µs (8+12) within Perl::Critic::OptionsProcessor::BEGIN@11 which was called:
# once (8µs+12µs) by Perl::Critic::UserProfile::BEGIN@20 at line 11 # spent 20µs making 1 call to Perl::Critic::OptionsProcessor::BEGIN@11
# spent 12µs making 1 call to strict::import |
| 12 | 2 | 25µs | 2 | 18µs | # spent 13µs (8+5) within Perl::Critic::OptionsProcessor::BEGIN@12 which was called:
# once (8µs+5µs) by Perl::Critic::UserProfile::BEGIN@20 at line 12 # spent 13µs making 1 call to Perl::Critic::OptionsProcessor::BEGIN@12
# spent 5µs making 1 call to warnings::import |
| 13 | |||||
| 14 | 2 | 24µs | 2 | 744µs | # spent 376µs (8+368) within Perl::Critic::OptionsProcessor::BEGIN@14 which was called:
# once (8µs+368µs) by Perl::Critic::UserProfile::BEGIN@20 at line 14 # spent 376µs making 1 call to Perl::Critic::OptionsProcessor::BEGIN@14
# spent 368µs making 1 call to English::import |
| 15 | |||||
| 16 | 2 | 23µs | 2 | 38µs | # spent 25µs (12+13) within Perl::Critic::OptionsProcessor::BEGIN@16 which was called:
# once (12µs+13µs) by Perl::Critic::UserProfile::BEGIN@20 at line 16 # spent 25µs making 1 call to Perl::Critic::OptionsProcessor::BEGIN@16
# spent 13µs making 1 call to Exporter::import |
| 17 | 2 | 109µs | 2 | 638µs | # spent 623µs (287+336) within Perl::Critic::OptionsProcessor::BEGIN@17 which was called:
# once (287µs+336µs) by Perl::Critic::UserProfile::BEGIN@20 at line 17 # spent 623µs making 1 call to Perl::Critic::OptionsProcessor::BEGIN@17
# spent 15µs making 1 call to Exporter::import |
| 18 | 1 | 300ns | # spent 3.10ms (8µs+3.09) within Perl::Critic::OptionsProcessor::BEGIN@18 which was called:
# once (8µs+3.09ms) by Perl::Critic::UserProfile::BEGIN@20 at line 20 | ||
| 19 | :booleans :characters :severities :data_conversion $DEFAULT_VERBOSITY | ||||
| 20 | 1 | 30µs | 2 | 6.18ms | >; # spent 3.10ms making 1 call to Perl::Critic::OptionsProcessor::BEGIN@18
# spent 3.09ms making 1 call to Exporter::import |
| 21 | 1 | 500ns | # spent 127µs (10+117) within Perl::Critic::OptionsProcessor::BEGIN@21 which was called:
# once (10µs+117µs) by Perl::Critic::UserProfile::BEGIN@20 at line 24 | ||
| 22 | $PROFILE_STRICTNESS_DEFAULT | ||||
| 23 | :color_severity | ||||
| 24 | 1 | 27µs | 2 | 245µs | >; # spent 127µs making 1 call to Perl::Critic::OptionsProcessor::BEGIN@21
# spent 117µs making 1 call to Exporter::import |
| 25 | 2 | 815µs | 2 | 52µs | # spent 31µs (10+21) within Perl::Critic::OptionsProcessor::BEGIN@25 which was called:
# once (10µs+21µs) by Perl::Critic::UserProfile::BEGIN@20 at line 25 # spent 31µs making 1 call to Perl::Critic::OptionsProcessor::BEGIN@25
# spent 21µs making 1 call to Exporter::import |
| 26 | |||||
| 27 | 1 | 600ns | our $VERSION = '1.121'; | ||
| 28 | |||||
| 29 | #----------------------------------------------------------------------------- | ||||
| 30 | |||||
| 31 | # spent 386µs (8+377) within Perl::Critic::OptionsProcessor::new which was called:
# once (8µs+377µs) by Perl::Critic::UserProfile::_set_options_processor at line 180 of Perl/Critic/UserProfile.pm | ||||
| 32 | 1 | 900ns | my ($class, %args) = @_; | ||
| 33 | 1 | 1µs | my $self = bless {}, $class; | ||
| 34 | 1 | 2µs | 1 | 377µs | $self->_init( %args ); # spent 377µs making 1 call to Perl::Critic::OptionsProcessor::_init |
| 35 | 1 | 6µs | return $self; | ||
| 36 | } | ||||
| 37 | |||||
| 38 | #----------------------------------------------------------------------------- | ||||
| 39 | |||||
| 40 | # spent 377µs (122+255) within Perl::Critic::OptionsProcessor::_init which was called:
# once (122µs+255µs) by Perl::Critic::OptionsProcessor::new at line 34 | ||||
| 41 | 1 | 500ns | my ( $self, %args ) = @_; | ||
| 42 | |||||
| 43 | # Multi-value defaults | ||||
| 44 | 1 | 7µs | 2 | 21µs | my $exclude = dor(delete $args{exclude}, $EMPTY); # spent 20µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 2µs making 1 call to Readonly::Scalar::FETCH |
| 45 | 1 | 6µs | 1 | 4µs | $self->{_exclude} = [ words_from_string( $exclude ) ]; # spent 4µs making 1 call to Perl::Critic::Utils::words_from_string |
| 46 | |||||
| 47 | 1 | 5µs | 2 | 13µs | my $include = dor(delete $args{include}, $EMPTY); # spent 12µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 48 | 1 | 2µs | 1 | 1µs | $self->{_include} = [ words_from_string( $include ) ]; # spent 1µs making 1 call to Perl::Critic::Utils::words_from_string |
| 49 | |||||
| 50 | 1 | 5µs | 2 | 13µs | my $program_extensions = dor(delete $args{'program-extensions'}, $EMPTY); # spent 11µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 2µs making 1 call to Readonly::Scalar::FETCH |
| 51 | 1 | 1µs | 1 | 1µs | $self->{_program_extensions} = [ words_from_string( $program_extensions) ]; # spent 1µs making 1 call to Perl::Critic::Utils::words_from_string |
| 52 | |||||
| 53 | # Single-value defaults | ||||
| 54 | 1 | 5µs | 2 | 12µs | $self->{_force} = dor(delete $args{force}, $FALSE); # spent 11µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 55 | 1 | 4µs | 2 | 12µs | $self->{_only} = dor(delete $args{only}, $FALSE); # spent 10µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 56 | 1 | 6µs | 2 | 12µs | $self->{_profile_strictness} = # spent 11µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 57 | dor(delete $args{'profile-strictness'}, $PROFILE_STRICTNESS_DEFAULT); | ||||
| 58 | 1 | 5µs | 2 | 12µs | $self->{_single_policy} = dor(delete $args{'single-policy'}, $EMPTY); # spent 11µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 59 | 1 | 6µs | 2 | 12µs | $self->{_severity} = dor(delete $args{severity}, $SEVERITY_HIGHEST); # spent 11µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 60 | 1 | 5µs | 2 | 13µs | $self->{_theme} = dor(delete $args{theme}, $EMPTY); # spent 11µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 61 | 1 | 4µs | 2 | 12µs | $self->{_top} = dor(delete $args{top}, $FALSE); # spent 10µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 62 | 1 | 4µs | 2 | 11µs | $self->{_verbose} = dor(delete $args{verbose}, $DEFAULT_VERBOSITY); # spent 10µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 63 | 1 | 5µs | 2 | 12µs | $self->{_criticism_fatal} = dor(delete $args{'criticism-fatal'}, $FALSE); # spent 10µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 64 | 1 | 5µs | 2 | 12µs | $self->{_pager} = dor(delete $args{pager}, $EMPTY); # spent 11µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 2µs making 1 call to Readonly::Scalar::FETCH |
| 65 | 1 | 4µs | 2 | 12µs | $self->{_allow_unsafe} = dor(delete $args{'allow-unsafe'}, $FALSE); # spent 10µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 66 | |||||
| 67 | 1 | 6µs | 2 | 14µs | $self->{_color_severity_highest} = dor( # spent 13µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 68 | delete $args{'color-severity-highest'}, | ||||
| 69 | delete $args{'colour-severity-highest'}, | ||||
| 70 | delete $args{'color-severity-5'}, | ||||
| 71 | delete $args{'colour-severity-5'}, | ||||
| 72 | $PROFILE_COLOR_SEVERITY_HIGHEST_DEFAULT, | ||||
| 73 | ); | ||||
| 74 | 1 | 9µs | 2 | 17µs | $self->{_color_severity_high} = dor( # spent 16µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 75 | delete $args{'color-severity-high'}, | ||||
| 76 | delete $args{'colour-severity-high'}, | ||||
| 77 | delete $args{'color-severity-4'}, | ||||
| 78 | delete $args{'colour-severity-4'}, | ||||
| 79 | $PROFILE_COLOR_SEVERITY_HIGH_DEFAULT, | ||||
| 80 | ); | ||||
| 81 | 1 | 6µs | 2 | 14µs | $self->{_color_severity_medium} = dor( # spent 13µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 82 | delete $args{'color-severity-medium'}, | ||||
| 83 | delete $args{'colour-severity-medium'}, | ||||
| 84 | delete $args{'color-severity-3'}, | ||||
| 85 | delete $args{'colour-severity-3'}, | ||||
| 86 | $PROFILE_COLOR_SEVERITY_MEDIUM_DEFAULT, | ||||
| 87 | ); | ||||
| 88 | 1 | 5µs | 2 | 14µs | $self->{_color_severity_low} = dor( # spent 12µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 89 | delete $args{'color-severity-low'}, | ||||
| 90 | delete $args{'colour-severity-low'}, | ||||
| 91 | delete $args{'color-severity-2'}, | ||||
| 92 | delete $args{'colour-severity-2'}, | ||||
| 93 | $PROFILE_COLOR_SEVERITY_LOW_DEFAULT, | ||||
| 94 | ); | ||||
| 95 | 1 | 5µs | 2 | 14µs | $self->{_color_severity_lowest} = dor( # spent 12µs making 1 call to Perl::Critic::Utils::DataConversion::dor
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 96 | delete $args{'color-severity-lowest'}, | ||||
| 97 | delete $args{'colour-severity-lowest'}, | ||||
| 98 | delete $args{'color-severity-1'}, | ||||
| 99 | delete $args{'colour-severity-1'}, | ||||
| 100 | $PROFILE_COLOR_SEVERITY_LOWEST_DEFAULT, | ||||
| 101 | ); | ||||
| 102 | |||||
| 103 | # If we're using a pager or not outputing to a tty don't use colors. | ||||
| 104 | # Can't use IO::Interactive here because we /don't/ want to check STDIN. | ||||
| 105 | 1 | 17µs | 3 | 10µs | my $default_color = ($self->pager() or not -t *STDOUT) ? $FALSE : $TRUE; ## no critic (ProhibitInteractiveTest) # spent 7µs making 1 call to Perl::Critic::OptionsProcessor::CORE:fttty
# spent 2µs making 1 call to Perl::Critic::OptionsProcessor::pager
# spent 1µs making 1 call to Readonly::Scalar::FETCH |
| 106 | 1 | 2µs | 1 | 3µs | $self->{_color} = dor(delete $args{color}, delete $args{colour}, $default_color); # spent 3µs making 1 call to Perl::Critic::Utils::DataConversion::dor |
| 107 | |||||
| 108 | # If there's anything left, complain. | ||||
| 109 | 1 | 2µs | 1 | 9µs | _check_for_extra_options(%args); # spent 9µs making 1 call to Perl::Critic::OptionsProcessor::_check_for_extra_options |
| 110 | |||||
| 111 | 1 | 4µs | return $self; | ||
| 112 | } | ||||
| 113 | |||||
| 114 | #----------------------------------------------------------------------------- | ||||
| 115 | |||||
| 116 | # spent 9µs (8+1) within Perl::Critic::OptionsProcessor::_check_for_extra_options which was called:
# once (8µs+1µs) by Perl::Critic::OptionsProcessor::_init at line 109 | ||||
| 117 | 1 | 600ns | my %args = @_; | ||
| 118 | |||||
| 119 | 1 | 7µs | 1 | 1µs | if ( my @remaining = sort keys %args ){ # spent 1µs making 1 call to Perl::Critic::OptionsProcessor::CORE:sort |
| 120 | my $errors = Perl::Critic::Exception::AggregateConfiguration->new(); | ||||
| 121 | |||||
| 122 | foreach my $option_name (@remaining) { | ||||
| 123 | $errors->add_exception( | ||||
| 124 | Perl::Critic::Exception::Configuration::Option::Global::ExtraParameter->new( | ||||
| 125 | option_name => $option_name, | ||||
| 126 | ) | ||||
| 127 | ) | ||||
| 128 | } | ||||
| 129 | |||||
| 130 | $errors->rethrow(); | ||||
| 131 | } | ||||
| 132 | |||||
| 133 | 1 | 4µs | return; | ||
| 134 | } | ||||
| 135 | |||||
| 136 | #----------------------------------------------------------------------------- | ||||
| 137 | # Public ACCESSOR methods | ||||
| 138 | |||||
| 139 | # spent 2µs within Perl::Critic::OptionsProcessor::severity which was called:
# once (2µs+0s) by Perl::Critic::Config::_validate_and_save_severity at line 526 of Perl/Critic/Config.pm | ||||
| 140 | 1 | 300ns | my ($self) = @_; | ||
| 141 | 1 | 3µs | return $self->{_severity}; | ||
| 142 | } | ||||
| 143 | |||||
| 144 | #----------------------------------------------------------------------------- | ||||
| 145 | |||||
| 146 | # spent 2µs within Perl::Critic::OptionsProcessor::theme which was called:
# once (2µs+0s) by Perl::Critic::Config::_validate_and_save_theme at line 623 of Perl/Critic/Config.pm | ||||
| 147 | 1 | 400ns | my ($self) = @_; | ||
| 148 | 1 | 3µs | return $self->{_theme}; | ||
| 149 | } | ||||
| 150 | |||||
| 151 | #----------------------------------------------------------------------------- | ||||
| 152 | |||||
| 153 | # spent 3µs within Perl::Critic::OptionsProcessor::exclude which was called:
# once (3µs+0s) by Perl::Critic::Config::_init at line 83 of Perl/Critic/Config.pm | ||||
| 154 | 1 | 400ns | my ($self) = @_; | ||
| 155 | 1 | 4µs | return $self->{_exclude}; | ||
| 156 | } | ||||
| 157 | |||||
| 158 | #----------------------------------------------------------------------------- | ||||
| 159 | |||||
| 160 | # spent 2µs within Perl::Critic::OptionsProcessor::include which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 80 of Perl/Critic/Config.pm | ||||
| 161 | 1 | 300ns | my ($self) = @_; | ||
| 162 | 1 | 4µs | return $self->{_include}; | ||
| 163 | } | ||||
| 164 | |||||
| 165 | #----------------------------------------------------------------------------- | ||||
| 166 | |||||
| 167 | # spent 2µs within Perl::Critic::OptionsProcessor::only which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 124 of Perl/Critic/Config.pm | ||||
| 168 | 1 | 400ns | my ($self) = @_; | ||
| 169 | 1 | 3µs | return $self->{_only}; | ||
| 170 | } | ||||
| 171 | |||||
| 172 | #----------------------------------------------------------------------------- | ||||
| 173 | |||||
| 174 | # spent 3µs within Perl::Critic::OptionsProcessor::profile_strictness which was called:
# once (3µs+0s) by Perl::Critic::Config::_validate_and_save_profile_strictness at line 443 of Perl/Critic/Config.pm | ||||
| 175 | 1 | 400ns | my ($self) = @_; | ||
| 176 | 1 | 4µs | return $self->{_profile_strictness}; | ||
| 177 | } | ||||
| 178 | |||||
| 179 | #----------------------------------------------------------------------------- | ||||
| 180 | |||||
| 181 | # spent 2µs within Perl::Critic::OptionsProcessor::single_policy which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 86 of Perl/Critic/Config.pm | ||||
| 182 | 1 | 400ns | my ($self) = @_; | ||
| 183 | 1 | 4µs | return $self->{_single_policy}; | ||
| 184 | } | ||||
| 185 | |||||
| 186 | #----------------------------------------------------------------------------- | ||||
| 187 | |||||
| 188 | # spent 2µs within Perl::Critic::OptionsProcessor::verbose which was called:
# once (2µs+0s) by Perl::Critic::Config::_validate_and_save_verbosity at line 484 of Perl/Critic/Config.pm | ||||
| 189 | 1 | 400ns | my ($self) = @_; | ||
| 190 | 1 | 3µs | return $self->{_verbose}; | ||
| 191 | } | ||||
| 192 | |||||
| 193 | #----------------------------------------------------------------------------- | ||||
| 194 | |||||
| 195 | # spent 2µs within Perl::Critic::OptionsProcessor::color which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 125 of Perl/Critic/Config.pm | ||||
| 196 | 1 | 400ns | my ($self) = @_; | ||
| 197 | 1 | 3µs | return $self->{_color}; | ||
| 198 | } | ||||
| 199 | |||||
| 200 | #----------------------------------------------------------------------------- | ||||
| 201 | |||||
| 202 | # spent 4µs within Perl::Critic::OptionsProcessor::pager which was called 2 times, avg 2µs/call:
# once (2µs+0s) by Perl::Critic::OptionsProcessor::_init at line 105
# once (2µs+0s) by Perl::Critic::Config::_validate_and_save_pager at line 685 of Perl/Critic/Config.pm | ||||
| 203 | 2 | 600ns | my ($self) = @_; | ||
| 204 | 2 | 8µs | return $self->{_pager}; | ||
| 205 | } | ||||
| 206 | |||||
| 207 | #----------------------------------------------------------------------------- | ||||
| 208 | |||||
| 209 | # spent 2µs within Perl::Critic::OptionsProcessor::allow_unsafe which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 126 of Perl/Critic/Config.pm | ||||
| 210 | 1 | 400ns | my ($self) = @_; | ||
| 211 | 1 | 3µs | return $self->{_allow_unsafe}; | ||
| 212 | } | ||||
| 213 | |||||
| 214 | #----------------------------------------------------------------------------- | ||||
| 215 | |||||
| 216 | # spent 2µs within Perl::Critic::OptionsProcessor::criticism_fatal which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 130 of Perl/Critic/Config.pm | ||||
| 217 | 1 | 400ns | my ($self) = @_; | ||
| 218 | 1 | 3µs | return $self->{_criticism_fatal}; | ||
| 219 | } | ||||
| 220 | |||||
| 221 | #----------------------------------------------------------------------------- | ||||
| 222 | |||||
| 223 | # spent 2µs within Perl::Critic::OptionsProcessor::force which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 123 of Perl/Critic/Config.pm | ||||
| 224 | 1 | 400ns | my ($self) = @_; | ||
| 225 | 1 | 4µs | return $self->{_force}; | ||
| 226 | } | ||||
| 227 | |||||
| 228 | #----------------------------------------------------------------------------- | ||||
| 229 | |||||
| 230 | # spent 2µs within Perl::Critic::OptionsProcessor::top which was called:
# once (2µs+0s) by Perl::Critic::Config::_validate_and_save_top at line 585 of Perl/Critic/Config.pm | ||||
| 231 | 1 | 300ns | my ($self) = @_; | ||
| 232 | 1 | 4µs | return $self->{_top}; | ||
| 233 | } | ||||
| 234 | |||||
| 235 | #----------------------------------------------------------------------------- | ||||
| 236 | |||||
| 237 | # spent 2µs within Perl::Critic::OptionsProcessor::color_severity_highest which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 92 of Perl/Critic/Config.pm | ||||
| 238 | 1 | 400ns | my ($self) = @_; | ||
| 239 | 1 | 4µs | return $self->{_color_severity_highest}; | ||
| 240 | } | ||||
| 241 | |||||
| 242 | #----------------------------------------------------------------------------- | ||||
| 243 | |||||
| 244 | # spent 3µs within Perl::Critic::OptionsProcessor::color_severity_high which was called:
# once (3µs+0s) by Perl::Critic::Config::_init at line 96 of Perl/Critic/Config.pm | ||||
| 245 | 1 | 400ns | my ($self) = @_; | ||
| 246 | 1 | 4µs | return $self->{_color_severity_high}; | ||
| 247 | } | ||||
| 248 | |||||
| 249 | #----------------------------------------------------------------------------- | ||||
| 250 | |||||
| 251 | # spent 2µs within Perl::Critic::OptionsProcessor::color_severity_medium which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 100 of Perl/Critic/Config.pm | ||||
| 252 | 1 | 300ns | my ($self) = @_; | ||
| 253 | 1 | 4µs | return $self->{_color_severity_medium}; | ||
| 254 | } | ||||
| 255 | |||||
| 256 | #----------------------------------------------------------------------------- | ||||
| 257 | |||||
| 258 | # spent 3µs within Perl::Critic::OptionsProcessor::color_severity_low which was called:
# once (3µs+0s) by Perl::Critic::Config::_init at line 104 of Perl/Critic/Config.pm | ||||
| 259 | 1 | 400ns | my ($self) = @_; | ||
| 260 | 1 | 4µs | return $self->{_color_severity_low}; | ||
| 261 | } | ||||
| 262 | |||||
| 263 | #----------------------------------------------------------------------------- | ||||
| 264 | |||||
| 265 | # spent 2µs within Perl::Critic::OptionsProcessor::color_severity_lowest which was called:
# once (2µs+0s) by Perl::Critic::Config::_init at line 108 of Perl/Critic/Config.pm | ||||
| 266 | 1 | 300ns | my ($self) = @_; | ||
| 267 | 1 | 4µs | return $self->{_color_severity_lowest}; | ||
| 268 | } | ||||
| 269 | |||||
| 270 | #----------------------------------------------------------------------------- | ||||
| 271 | |||||
| 272 | # spent 2µs within Perl::Critic::OptionsProcessor::program_extensions which was called:
# once (2µs+0s) by Perl::Critic::Config::_validate_and_save_program_extensions at line 765 of Perl/Critic/Config.pm | ||||
| 273 | 1 | 400ns | my ($self) = @_; | ||
| 274 | 1 | 7µs | return $self->{_program_extensions}; | ||
| 275 | } | ||||
| 276 | |||||
| 277 | #----------------------------------------------------------------------------- | ||||
| 278 | |||||
| 279 | 1 | 2µs | 1; | ||
| 280 | |||||
| 281 | __END__ | ||||
# spent 7µs within Perl::Critic::OptionsProcessor::CORE:fttty which was called:
# once (7µs+0s) by Perl::Critic::OptionsProcessor::_init at line 105 | |||||
# spent 1µs within Perl::Critic::OptionsProcessor::CORE:sort which was called:
# once (1µs+0s) by Perl::Critic::OptionsProcessor::_check_for_extra_options at line 119 |