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

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPI/Token/Regexp/Substitute.pm
StatementsExecuted 11 statements in 132µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11112µs12µsPPI::Token::Regexp::Substitute::::BEGIN@36PPI::Token::Regexp::Substitute::BEGIN@36
11111µs22µsPPI::Token::Regexp::Substitute::::BEGIN@35PPI::Token::Regexp::Substitute::BEGIN@35
11110µs10µsPPI::Token::Regexp::Substitute::::BEGIN@40PPI::Token::Regexp::Substitute::BEGIN@40
1116µs34µsPPI::Token::Regexp::Substitute::::BEGIN@39PPI::Token::Regexp::Substitute::BEGIN@39
1113µs3µsPPI::Token::Regexp::Substitute::::BEGIN@37PPI::Token::Regexp::Substitute::BEGIN@37
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package PPI::Token::Regexp::Substitute;
2
3=pod
4
5=head1 NAME
6
7PPI::Token::Regexp::Substitute - A match and replace regular expression token
8
9=head1 INHERITANCE
10
11 PPI::Token::Regexp::Substitute
12 isa PPI::Token::Regexp
13 isa PPI::Token
14 isa PPI::Element
15
16=head1 SYNOPSIS
17
18 $text =~ s/find/$replace/;
19
20=head1 DESCRIPTION
21
22A C<PPI::Token::Regexp::Substitute> object represents a single substitution
23regular expression.
24
25=head1 METHODS
26
27There are no methods available for C<PPI::Token::Regexp::Substitute>
28beyond those provided by the parent L<PPI::Token::Regexp>, L<PPI::Token>
29and L<PPI::Element> classes.
30
31Got any ideas for methods? Submit a report to rt.cpan.org!
32
33=cut
34
35230µs234µs
# spent 22µs (11+12) within PPI::Token::Regexp::Substitute::BEGIN@35 which was called: # once (11µs+12µs) by PPI::Token::BEGIN@64 at line 35
use strict;
# spent 22µs making 1 call to PPI::Token::Regexp::Substitute::BEGIN@35 # spent 12µs making 1 call to strict::import
36216µs112µs
# spent 12µs within PPI::Token::Regexp::Substitute::BEGIN@36 which was called: # once (12µs+0s) by PPI::Token::BEGIN@64 at line 36
use PPI::Token::Regexp ();
# spent 12µs making 1 call to PPI::Token::Regexp::Substitute::BEGIN@36
37218µs13µs
# spent 3µs within PPI::Token::Regexp::Substitute::BEGIN@37 which was called: # once (3µs+0s) by PPI::Token::BEGIN@64 at line 37
use PPI::Token::_QuoteEngine::Full ();
# spent 3µs making 1 call to PPI::Token::Regexp::Substitute::BEGIN@37
38
39238µs262µs
# spent 34µs (6+28) within PPI::Token::Regexp::Substitute::BEGIN@39 which was called: # once (6µs+28µs) by PPI::Token::BEGIN@64 at line 39
use vars qw{$VERSION @ISA};
# spent 34µs making 1 call to PPI::Token::Regexp::Substitute::BEGIN@39 # spent 28µs making 1 call to vars::import
40
# spent 10µs within PPI::Token::Regexp::Substitute::BEGIN@40 which was called: # once (10µs+0s) by PPI::Token::BEGIN@64 at line 46
BEGIN {
411400ns $VERSION = '1.215';
42111µs @ISA = qw{
43 PPI::Token::_QuoteEngine::Full
44 PPI::Token::Regexp
45 };
46118µs110µs}
# spent 10µs making 1 call to PPI::Token::Regexp::Substitute::BEGIN@40
47
4812µs1;
49
50=pod
51
52=head1 SUPPORT
53
54See the L<support section|PPI/SUPPORT> in the main module.
55
56=head1 AUTHOR
57
58Adam Kennedy E<lt>adamk@cpan.orgE<gt>
59
60=head1 COPYRIGHT
61
62Copyright 2001 - 2011 Adam Kennedy.
63
64This program is free software; you can redistribute
65it and/or modify it under the same terms as Perl itself.
66
67The full text of the license can be found in the
68LICENSE file included with this module.
69
70=cut