← 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/Perl.pm
StatementsExecuted 12 statements in 182µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11118µs21µsPerl::Critic::Utils::Perl::::BEGIN@12Perl::Critic::Utils::Perl::BEGIN@12
11115µs15µsPerl::Critic::Utils::Perl::::BEGIN@10Perl::Critic::Utils::Perl::BEGIN@10
1118µs13µsPerl::Critic::Utils::Perl::::BEGIN@14Perl::Critic::Utils::Perl::BEGIN@14
1116µs18µsPerl::Critic::Utils::Perl::::BEGIN@11Perl::Critic::Utils::Perl::BEGIN@11
0000s0sPerl::Critic::Utils::Perl::::symbol_without_sigilPerl::Critic::Utils::Perl::symbol_without_sigil
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::Perl;
9
10236µs115µs
# spent 15µs within Perl::Critic::Utils::Perl::BEGIN@10 which was called: # once (15µs+0s) by Perl::Critic::Policy::NamingConventions::Capitalization::BEGIN@25 at line 10
use 5.006001;
# spent 15µs making 1 call to Perl::Critic::Utils::Perl::BEGIN@10
11222µs229µs
# spent 18µs (6+11) within Perl::Critic::Utils::Perl::BEGIN@11 which was called: # once (6µs+11µs) by Perl::Critic::Policy::NamingConventions::Capitalization::BEGIN@25 at line 11
use strict;
# spent 18µs making 1 call to Perl::Critic::Utils::Perl::BEGIN@11 # spent 11µs making 1 call to strict::import
12222µs225µs
# spent 21µs (18+4) within Perl::Critic::Utils::Perl::BEGIN@12 which was called: # once (18µs+4µs) by Perl::Critic::Policy::NamingConventions::Capitalization::BEGIN@25 at line 12
use warnings;
# spent 21µs making 1 call to Perl::Critic::Utils::Perl::BEGIN@12 # spent 4µs making 1 call to warnings::import
13
14296µs219µs
# spent 13µs (8+6) within Perl::Critic::Utils::Perl::BEGIN@14 which was called: # once (8µs+6µs) by Perl::Critic::Policy::NamingConventions::Capitalization::BEGIN@25 at line 14
use Exporter 'import';
# spent 13µs making 1 call to Perl::Critic::Utils::Perl::BEGIN@14 # spent 6µs making 1 call to Exporter::import
15
161600nsour $VERSION = '1.121';
17
18#-----------------------------------------------------------------------------
19
201700nsour @EXPORT_OK = qw(
21 symbol_without_sigil
22);
23
2411µsour %EXPORT_TAGS = (
25 all => \@EXPORT_OK,
26);
27
28#-----------------------------------------------------------------------------
29
30sub symbol_without_sigil {
31 my ($symbol) = @_;
32
33 (my $without_sigil = $symbol) =~ s< \A [\$@%*&] ><>xms;
34
35 return $without_sigil;
36}
37
38#-----------------------------------------------------------------------------
39
4013µs1;
41
42__END__