← 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/Statement/Unknown.pm
StatementsExecuted 9 statements in 108µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11112µs23µsPPI::Statement::Unknown::::BEGIN@35PPI::Statement::Unknown::BEGIN@35
1118µs8µsPPI::Statement::Unknown::::BEGIN@39PPI::Statement::Unknown::BEGIN@39
1116µs32µsPPI::Statement::Unknown::::BEGIN@38PPI::Statement::Unknown::BEGIN@38
1113µs3µsPPI::Statement::Unknown::::BEGIN@36PPI::Statement::Unknown::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::Statement::Unknown;
2
3=pod
4
5=head1 NAME
6
7PPI::Statement::Unknown - An unknown or transient statement
8
9=head1 INHERITANCE
10
11 PPI::Statement::Unknown
12 isa PPI::Statement
13 isa PPI::Node
14 isa PPI::Element
15
16=head1 DESCRIPTION
17
18The C<PPI::Statement::Unknown> class is used primarily during the lexing
19process to hold elements that are known to be statement, but for which
20the exact C<type> of statement is as yet unknown, and requires further
21tokens in order to resolve the correct type.
22
23They should not exist in a fully parse B<valid> document, and if any
24exists they indicate either a problem in Document, or possibly (by
25allowing it to get through unresolved) a bug in L<PPI::Lexer>.
26
27=head1 METHODS
28
29C<PPI::Statement::Unknown> has no additional methods beyond the
30default ones provided by L<PPI::Statement>, L<PPI::Node> and
31L<PPI::Element>.
32
33=cut
34
35219µs234µs
# spent 23µs (12+11) within PPI::Statement::Unknown::BEGIN@35 which was called: # once (12µs+11µs) by PPI::Statement::BEGIN@174 at line 35
use strict;
# spent 23µs making 1 call to PPI::Statement::Unknown::BEGIN@35 # spent 11µs making 1 call to strict::import
36218µs13µs
# spent 3µs within PPI::Statement::Unknown::BEGIN@36 which was called: # once (3µs+0s) by PPI::Statement::BEGIN@174 at line 36
use PPI::Statement ();
# spent 3µs making 1 call to PPI::Statement::Unknown::BEGIN@36
37
38231µs258µs
# spent 32µs (6+26) within PPI::Statement::Unknown::BEGIN@38 which was called: # once (6µs+26µs) by PPI::Statement::BEGIN@174 at line 38
use vars qw{$VERSION @ISA};
# spent 32µs making 1 call to PPI::Statement::Unknown::BEGIN@38 # spent 26µs making 1 call to vars::import
39
# spent 8µs within PPI::Statement::Unknown::BEGIN@39 which was called: # once (8µs+0s) by PPI::Statement::BEGIN@174 at line 42
BEGIN {
401300ns $VERSION = '1.215';
4118µs @ISA = 'PPI::Statement';
42131µs18µs}
# spent 8µs making 1 call to PPI::Statement::Unknown::BEGIN@39
43
44# If one of these ends up in the final document,
45# we're pretty much screwed. Just call it a day.
46sub _complete () { 1 }
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