← 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/Constructor.pm
StatementsExecuted 9 statements in 96µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11111µs24µsPPI::Structure::Constructor::::BEGIN@35PPI::Structure::Constructor::BEGIN@35
1118µs8µsPPI::Structure::Constructor::::BEGIN@39PPI::Structure::Constructor::BEGIN@39
1116µs34µsPPI::Structure::Constructor::::BEGIN@38PPI::Structure::Constructor::BEGIN@38
1113µs3µsPPI::Structure::Constructor::::BEGIN@36PPI::Structure::Constructor::BEGIN@36
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::Constructor;
2
3=pod
4
5=head1 NAME
6
7PPI::Structure::Constructor - Anonymous hash or array constructor
8
9=head1 SYNOPSIS
10
11 my $array = [ 'foo', 'bar' ];
12 my $hash = { foo => 'bar' };
13
14=head1 INHERITANCE
15
16 PPI::Structure::Constructor
17 isa PPI::Structure
18 isa PPI::Node
19 isa PPI::Element
20
21=head1 DESCRIPTION
22
23C<PPI::Structure::Constructor> is the class used for anonymous C<ARRAY>
24reference of C<HASH> reference constructors.
25
26=head1 METHODS
27
28C<PPI::Structure::Constructor> has no methods beyond those provided by
29the standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
30
31Got any ideas for methods? Submit a report to rt.cpan.org!
32
33=cut
34
35219µs236µs
# spent 24µs (11+12) within PPI::Structure::Constructor::BEGIN@35 which was called: # once (11µs+12µs) by PPI::Structure::BEGIN@106 at line 35
use strict;
# spent 24µs making 1 call to PPI::Structure::Constructor::BEGIN@35 # spent 12µs making 1 call to strict::import
36218µs13µs
# spent 3µs within PPI::Structure::Constructor::BEGIN@36 which was called: # once (3µs+0s) by PPI::Structure::BEGIN@106 at line 36
use PPI::Structure ();
# spent 3µs making 1 call to PPI::Structure::Constructor::BEGIN@36
37
38227µs261µs
# spent 34µs (6+27) within PPI::Structure::Constructor::BEGIN@38 which was called: # once (6µs+27µs) by PPI::Structure::BEGIN@106 at line 38
use vars qw{$VERSION @ISA};
# spent 34µs making 1 call to PPI::Structure::Constructor::BEGIN@38 # spent 27µs making 1 call to vars::import
39
# spent 8µs within PPI::Structure::Constructor::BEGIN@39 which was called: # once (8µs+0s) by PPI::Structure::BEGIN@106 at line 42
BEGIN {
401300ns $VERSION = '1.215';
4118µs @ISA = 'PPI::Structure';
42122µs18µs}
# spent 8µs making 1 call to PPI::Structure::Constructor::BEGIN@39
43
4412µs1;
45
46=pod
47
48=head1 SUPPORT
49
50See the L<support section|PPI/SUPPORT> in the main module.
51
52=head1 AUTHOR
53
54Adam Kennedy E<lt>adamk@cpan.orgE<gt>
55
56=head1 COPYRIGHT
57
58Copyright 2001 - 2011 Adam Kennedy.
59
60This program is free software; you can redistribute
61it and/or modify it under the same terms as Perl itself.
62
63The full text of the license can be found in the
64LICENSE file included with this module.
65
66=cut