← 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/Block.pm
StatementsExecuted 9 statements in 111µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11112µs24µsPPI::Structure::Block::::BEGIN@45PPI::Structure::Block::BEGIN@45
1118µs8µsPPI::Structure::Block::::BEGIN@49PPI::Structure::Block::BEGIN@49
1117µs37µsPPI::Structure::Block::::BEGIN@48PPI::Structure::Block::BEGIN@48
1113µs3µsPPI::Structure::Block::::BEGIN@46PPI::Structure::Block::BEGIN@46
0000s0sPPI::Structure::Block::::scopePPI::Structure::Block::scope
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::Block;
2
3=pod
4
5=head1 NAME
6
7PPI::Structure::Block - Curly braces representing a code block
8
9=head1 SYNOPSIS
10
11 sub foo { ... }
12
13 grep { ... } @list;
14
15 if ( condition ) {
16 ...
17 }
18
19 LABEL: {
20 ...
21 }
22
23=head1 INHERITANCE
24
25 PPI::Structure::Block
26 isa PPI::Structure
27 isa PPI::Node
28 isa PPI::Element
29
30=head1 DESCRIPTION
31
32C<PPI::Structure::Block> is the class used for all curly braces that
33represent code blocks. This includes subroutines, compound statements
34and any other block braces.
35
36=head1 METHODS
37
38C<PPI::Structure::Block> has no methods beyond those provided by the
39standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
40
41Got any ideas for methods? Submit a report to rt.cpan.org!
42
43=cut
44
45219µs236µs
# spent 24µs (12+12) within PPI::Structure::Block::BEGIN@45 which was called: # once (12µs+12µs) by PPI::Structure::BEGIN@104 at line 45
use strict;
# spent 24µs making 1 call to PPI::Structure::Block::BEGIN@45 # spent 12µs making 1 call to strict::import
46219µs13µs
# spent 3µs within PPI::Structure::Block::BEGIN@46 which was called: # once (3µs+0s) by PPI::Structure::BEGIN@104 at line 46
use PPI::Structure ();
# spent 3µs making 1 call to PPI::Structure::Block::BEGIN@46
47
48228µs268µs
# spent 37µs (7+31) within PPI::Structure::Block::BEGIN@48 which was called: # once (7µs+31µs) by PPI::Structure::BEGIN@104 at line 48
use vars qw{$VERSION @ISA};
# spent 37µs making 1 call to PPI::Structure::Block::BEGIN@48 # spent 31µs making 1 call to vars::import
49
# spent 8µs within PPI::Structure::Block::BEGIN@49 which was called: # once (8µs+0s) by PPI::Structure::BEGIN@104 at line 52
BEGIN {
501400ns $VERSION = '1.215';
5118µs @ISA = 'PPI::Structure';
52134µs18µs}
# spent 8µs making 1 call to PPI::Structure::Block::BEGIN@49
53
- -
58#####################################################################
59# PPI::Element Methods
60
61# This is a scope boundary
62sub scope { 1 }
63
6412µs1;
65
66=pod
67
68=head1 SUPPORT
69
70See the L<support section|PPI/SUPPORT> in the main module.
71
72=head1 AUTHOR
73
74Adam Kennedy E<lt>adamk@cpan.orgE<gt>
75
76=head1 COPYRIGHT
77
78Copyright 2001 - 2011 Adam Kennedy.
79
80This program is free software; you can redistribute
81it and/or modify it under the same terms as Perl itself.
82
83The full text of the license can be found in the
84LICENSE file included with this module.
85
86=cut