← 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:13 2016

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPIx/Regexp/Structure/Replacement.pm
StatementsExecuted 8 statements in 77µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11112µs23µsPPIx::Regexp::Structure::Replacement::::BEGIN@36PPIx::Regexp::Structure::Replacement::BEGIN@36
1117µs11µsPPIx::Regexp::Structure::Replacement::::BEGIN@37PPIx::Regexp::Structure::Replacement::BEGIN@37
1117µs63µsPPIx::Regexp::Structure::Replacement::::BEGIN@39PPIx::Regexp::Structure::Replacement::BEGIN@39
0000s0sPPIx::Regexp::Structure::Replacement::::can_be_quantifiedPPIx::Regexp::Structure::Replacement::can_be_quantified
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1=head1 NAME
2
3PPIx::Regexp::Structure::Replacement - Represent the replacement in s///
4
5=head1 SYNOPSIS
6
7 use PPIx::Regexp::Dumper;
8 PPIx::Regexp::Dumper->new( 's{foo}{bar}smxg' )
9 ->print();
10
11=head1 INHERITANCE
12
13C<PPIx::Regexp::Structure::Replacement> is a
14L<PPIx::Regexp::Structure::Main|PPIx::Regexp::Structure::Main>.
15
16C<PPIx::Regexp::Structure::Replacement> has no descendants.
17
18=head1 DESCRIPTION
19
20This class represents the replacement in a substitution operation. In
21the example given in the L</SYNOPSIS>, the C<{bar}> will be represented
22by this class.
23
24Note that if the substitution is not bracketed (e.g. C<s/foo/bar/g>),
25this structure will contain no starting delimiter.
26
27=head1 METHODS
28
29This class provides no public methods beyond those provided by its
30superclass.
31
32=cut
33
34package PPIx::Regexp::Structure::Replacement;
35
36219µs234µs
# spent 23µs (12+11) within PPIx::Regexp::Structure::Replacement::BEGIN@36 which was called: # once (12µs+11µs) by PPIx::Regexp::Lexer::BEGIN@57 at line 36
use strict;
# spent 23µs making 1 call to PPIx::Regexp::Structure::Replacement::BEGIN@36 # spent 11µs making 1 call to strict::import
37219µs216µs
# spent 11µs (7+4) within PPIx::Regexp::Structure::Replacement::BEGIN@37 which was called: # once (7µs+4µs) by PPIx::Regexp::Lexer::BEGIN@57 at line 37
use warnings;
# spent 11µs making 1 call to PPIx::Regexp::Structure::Replacement::BEGIN@37 # spent 4µs making 1 call to warnings::import
38
39237µs2119µs
# spent 63µs (7+56) within PPIx::Regexp::Structure::Replacement::BEGIN@39 which was called: # once (7µs+56µs) by PPIx::Regexp::Lexer::BEGIN@57 at line 39
use base qw{ PPIx::Regexp::Structure::Main };
# spent 63µs making 1 call to PPIx::Regexp::Structure::Replacement::BEGIN@39 # spent 56µs making 1 call to base::import
40
411500nsour $VERSION = '0.036';
42
43sub can_be_quantified { return; }
44
4512µs1;
46
47__END__