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

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPI/Structure/Subscript.pm
StatementsExecuted 9 statements in 97µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11111µs26µsPPI::Structure::Subscript::::BEGIN@41PPI::Structure::Subscript::BEGIN@41
1118µs8µsPPI::Structure::Subscript::::BEGIN@45PPI::Structure::Subscript::BEGIN@45
1116µs34µsPPI::Structure::Subscript::::BEGIN@44PPI::Structure::Subscript::BEGIN@44
1113µs3µsPPI::Structure::Subscript::::BEGIN@42PPI::Structure::Subscript::BEGIN@42
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package PPI::Structure::Subscript;
2
3=pod
4
5=head1 NAME
6
7PPI::Structure::Subscript - Braces that represent an array or hash subscript
8
9=head1 SYNOPSIS
10
11 # The end braces for all of the following are subscripts
12 $foo->[...]
13 $foo[...]
14 $foo{...}[...]
15 $foo->{...}
16 $foo{...}
17 $foo[]{...}
18
19=head1 INHERITANCE
20
21 PPI::Structure::Subscript
22 isa PPI::Structure
23 isa PPI::Node
24 isa PPI::Element
25
26=head1 DESCRIPTION
27
28C<PPI::Structure::Subscript> is the class used for square and curly
29braces that specify one element of an array or hash (or a slice/subset
30of an array or hash)
31
32=head1 METHODS
33
34C<PPI::Structure::Subscript> has no methods beyond those provided by the
35standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
36
37Got any ideas for methods? Submit a report to rt.cpan.org!
38
39=cut
40
41221µs240µs
# spent 26µs (11+15) within PPI::Structure::Subscript::BEGIN@41 which was called: # once (11µs+15µs) by PPI::Structure::BEGIN@110 at line 41
use strict;
# spent 26µs making 1 call to PPI::Structure::Subscript::BEGIN@41 # spent 15µs making 1 call to strict::import
42219µs13µs
# spent 3µs within PPI::Structure::Subscript::BEGIN@42 which was called: # once (3µs+0s) by PPI::Structure::BEGIN@110 at line 42
use PPI::Structure ();
# spent 3µs making 1 call to PPI::Structure::Subscript::BEGIN@42
43
44228µs261µs
# spent 34µs (6+27) within PPI::Structure::Subscript::BEGIN@44 which was called: # once (6µs+27µs) by PPI::Structure::BEGIN@110 at line 44
use vars qw{$VERSION @ISA};
# spent 34µs making 1 call to PPI::Structure::Subscript::BEGIN@44 # spent 27µs making 1 call to vars::import
45
# spent 8µs within PPI::Structure::Subscript::BEGIN@45 which was called: # once (8µs+0s) by PPI::Structure::BEGIN@110 at line 48
BEGIN {
461400ns $VERSION = '1.215';
4718µs @ISA = 'PPI::Structure';
48118µs18µs}
# spent 8µs making 1 call to PPI::Structure::Subscript::BEGIN@45
49
5012µs1;
51
52=pod
53
54=head1 SUPPORT
55
56See the L<support section|PPI/SUPPORT> in the main module.
57
58=head1 AUTHOR
59
60Adam Kennedy E<lt>adamk@cpan.orgE<gt>
61
62=head1 COPYRIGHT
63
64Copyright 2001 - 2011 Adam Kennedy.
65
66This program is free software; you can redistribute
67it and/or modify it under the same terms as Perl itself.
68
69The full text of the license can be found in the
70LICENSE file included with this module.
71
72=cut