← 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/Perl/Critic/Utils/POD/ParseInteriorSequence.pm
StatementsExecuted 12 statements in 252µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11118µs18µsPerl::Critic::Utils::POD::ParseInteriorSequence::::BEGIN@10Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@10
1118µs8µsPerl::Critic::Utils::POD::ParseInteriorSequence::::BEGIN@16Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@16
1117µs18µsPerl::Critic::Utils::POD::ParseInteriorSequence::::BEGIN@11Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@11
1116µs10µsPerl::Critic::Utils::POD::ParseInteriorSequence::::BEGIN@12Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@12
1116µs61µsPerl::Critic::Utils::POD::ParseInteriorSequence::::BEGIN@14Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@14
0000s0sPerl::Critic::Utils::POD::ParseInteriorSequence::::get_interior_sequencesPerl::Critic::Utils::POD::ParseInteriorSequence::get_interior_sequences
0000s0sPerl::Critic::Utils::POD::ParseInteriorSequence::::interior_sequencePerl::Critic::Utils::POD::ParseInteriorSequence::interior_sequence
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1##############################################################################
2# $URL$
3# $Date$
4# $Author$
5# $Revision$
6##############################################################################
7
8package Perl::Critic::Utils::POD::ParseInteriorSequence;
9
10243µs118µs
# spent 18µs within Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@10 which was called: # once (18µs+0s) by Perl::Critic::Policy::Documentation::RequirePodLinksIncludeText::BEGIN@20 at line 10
use 5.006001;
11219µs229µs
# spent 18µs (7+11) within Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@11 which was called: # once (7µs+11µs) by Perl::Critic::Policy::Documentation::RequirePodLinksIncludeText::BEGIN@20 at line 11
use strict;
# spent 18µs making 1 call to Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@11 # spent 11µs making 1 call to strict::import
12220µs214µs
# spent 10µs (6+4) within Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@12 which was called: # once (6µs+4µs) by Perl::Critic::Policy::Documentation::RequirePodLinksIncludeText::BEGIN@20 at line 12
use warnings;
# spent 10µs making 1 call to Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@12 # spent 4µs making 1 call to warnings::import
13
14224µs2115µs
# spent 61µs (6+54) within Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@14 which was called: # once (6µs+54µs) by Perl::Critic::Policy::Documentation::RequirePodLinksIncludeText::BEGIN@20 at line 14
use base qw{ Pod::Parser };
# spent 61µs making 1 call to Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@14 # spent 54µs making 1 call to base::import
15
162144µs18µs
# spent 8µs within Perl::Critic::Utils::POD::ParseInteriorSequence::BEGIN@16 which was called: # once (8µs+0s) by Perl::Critic::Policy::Documentation::RequirePodLinksIncludeText::BEGIN@20 at line 16
use IO::String;
17
181600nsour $VERSION = '1.121';
19
20#-----------------------------------------------------------------------------
21
22sub interior_sequence {
23 my ( $self, $seq_cmd, $seq_arg, $pod_seq ) = @_;
24 push @{ $self->{+__PACKAGE__}{interior_sequence} ||= [] }, $pod_seq;
25 return $self->SUPER::interior_sequence( $seq_cmd, $seq_arg, $pod_seq );
26}
27
28#-----------------------------------------------------------------------------
29
30sub get_interior_sequences {
31 my ( $self, $pod ) = @_;
32 $self->{+__PACKAGE__}{interior_sequence} = [];
33 my $result;
34 $self->parse_from_filehandle(
35 IO::String->new( \$pod ),
36 IO::String->new( \$result )
37 );
38 return @{ $self->{+__PACKAGE__}{interior_sequence} };
39}
40
41#-----------------------------------------------------------------------------
42
4312µs1;
44
45__END__