← 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/Label.pm
StatementsExecuted 9 statements in 96µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11111µs23µsPPI::Token::Label::::BEGIN@31PPI::Token::Label::BEGIN@31
1117µs7µsPPI::Token::Label::::BEGIN@35PPI::Token::Label::BEGIN@35
1116µs33µsPPI::Token::Label::::BEGIN@34PPI::Token::Label::BEGIN@34
1113µs3µsPPI::Token::Label::::BEGIN@32PPI::Token::Label::BEGIN@32
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::Label;
2
3=pod
4
5=head1 NAME
6
7PPI::Token::Label - Token class for a statement label
8
9=head1 INHERITANCE
10
11 PPI::Token::Label
12 isa PPI::Token
13 isa PPI::Element
14
15=head1 DESCRIPTION
16
17A label is an identifier attached to a line or statements, to allow for
18various types of flow control. For example, a loop might have a label
19attached so that a C<last> or C<next> flow control statement can be used
20from multiple levels below to reference the loop directly.
21
22=head1 METHODS
23
24There are no additional methods beyond those provided by the parent
25L<PPI::Token> and L<PPI::Element> classes.
26
27Got any ideas for methods? Submit a report to rt.cpan.org!
28
29=cut
30
31221µs234µs
# spent 23µs (11+12) within PPI::Token::Label::BEGIN@31 which was called: # once (11µs+12µs) by PPI::Token::BEGIN@69 at line 31
use strict;
# spent 23µs making 1 call to PPI::Token::Label::BEGIN@31 # spent 12µs making 1 call to strict::import
32218µs13µs
# spent 3µs within PPI::Token::Label::BEGIN@32 which was called: # once (3µs+0s) by PPI::Token::BEGIN@69 at line 32
use PPI::Token ();
# spent 3µs making 1 call to PPI::Token::Label::BEGIN@32
33
34230µs260µs
# spent 33µs (6+27) within PPI::Token::Label::BEGIN@34 which was called: # once (6µs+27µs) by PPI::Token::BEGIN@69 at line 34
use vars qw{$VERSION @ISA};
# spent 33µs making 1 call to PPI::Token::Label::BEGIN@34 # spent 27µs making 1 call to vars::import
35
# spent 7µs within PPI::Token::Label::BEGIN@35 which was called: # once (7µs+0s) by PPI::Token::BEGIN@69 at line 38
BEGIN {
361300ns $VERSION = '1.215';
3718µs @ISA = 'PPI::Token';
38118µs17µs}
# spent 7µs making 1 call to PPI::Token::Label::BEGIN@35
39
4012µs1;
41
42=pod
43
44=head1 SUPPORT
45
46See the L<support section|PPI/SUPPORT> in the main module.
47
48=head1 AUTHOR
49
50Adam Kennedy E<lt>adamk@cpan.orgE<gt>
51
52=head1 COPYRIGHT
53
54Copyright 2001 - 2011 Adam Kennedy.
55
56This program is free software; you can redistribute
57it and/or modify it under the same terms as Perl itself.
58
59The full text of the license can be found in the
60LICENSE file included with this module.
61
62=cut