← 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/Separator.pm
StatementsExecuted 9 statements in 168µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11119µs40µsPPI::Token::Separator::::BEGIN@35PPI::Token::Separator::BEGIN@35
11115µs15µsPPI::Token::Separator::::BEGIN@39PPI::Token::Separator::BEGIN@39
11111µs58µsPPI::Token::Separator::::BEGIN@38PPI::Token::Separator::BEGIN@38
1115µs5µsPPI::Token::Separator::::BEGIN@36PPI::Token::Separator::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::Token::Separator;
2
3=pod
4
5=head1 NAME
6
7PPI::Token::Separator - The __DATA__ and __END__ tags
8
9=head1 INHERITANCE
10
11 PPI::Token::Separator
12 isa PPI::Token::Word
13 isa PPI::Token
14 isa PPI::Element
15
16=head1 DESCRIPTION
17
18Although superficially looking like a normal L<PPI::Token::Word> object,
19when the C<__DATA__> and C<__END__> compiler tags appear at the beginning of
20a line (on supposedly) their own line, these tags become file section
21separators.
22
23The indicate that the time for Perl code is over, and the rest of the
24file is dedicated to something else (data in the case of C<__DATA__>) or
25to nothing at all (in the case of C<__END__>).
26
27=head1 METHODS
28
29This class has no methods beyond what is provided by its
30L<PPI::Token::Word>, L<PPI::Token> and L<PPI::Element>
31parent classes.
32
33=cut
34
35233µs260µs
# spent 40µs (19+21) within PPI::Token::Separator::BEGIN@35 which was called: # once (19µs+21µs) by PPI::Token::BEGIN@71 at line 35
use strict;
# spent 40µs making 1 call to PPI::Token::Separator::BEGIN@35 # spent 21µs making 1 call to strict::import
36237µs15µs
# spent 5µs within PPI::Token::Separator::BEGIN@36 which was called: # once (5µs+0s) by PPI::Token::BEGIN@71 at line 36
use PPI::Token::Word ();
# spent 5µs making 1 call to PPI::Token::Separator::BEGIN@36
37
38248µs2106µs
# spent 58µs (11+48) within PPI::Token::Separator::BEGIN@38 which was called: # once (11µs+48µs) by PPI::Token::BEGIN@71 at line 38
use vars qw{$VERSION @ISA};
# spent 58µs making 1 call to PPI::Token::Separator::BEGIN@38 # spent 48µs making 1 call to vars::import
39
# spent 15µs within PPI::Token::Separator::BEGIN@39 which was called: # once (15µs+0s) by PPI::Token::BEGIN@71 at line 42
BEGIN {
401600ns $VERSION = '1.215';
41115µs @ISA = 'PPI::Token::Word';
42132µs115µs}
# spent 15µs making 1 call to PPI::Token::Separator::BEGIN@39
43
4413µ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