← 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/File/HomeDir/Driver.pm
StatementsExecuted 10 statements in 164µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11116µs16µsFile::HomeDir::Driver::::BEGIN@6File::HomeDir::Driver::BEGIN@6
1117µs32µsFile::HomeDir::Driver::::BEGIN@10File::HomeDir::Driver::BEGIN@10
1116µs16µsFile::HomeDir::Driver::::BEGIN@7File::HomeDir::Driver::BEGIN@7
1113µs3µsFile::HomeDir::Driver::::BEGIN@11File::HomeDir::Driver::BEGIN@11
1113µs3µsFile::HomeDir::Driver::::BEGIN@8File::HomeDir::Driver::BEGIN@8
0000s0sFile::HomeDir::Driver::::my_homeFile::HomeDir::Driver::my_home
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package File::HomeDir::Driver;
2
3# Abstract base class that provides no functionality,
4# but confirms the class is a File::HomeDir driver class.
5
6236µs116µs
# spent 16µs within File::HomeDir::Driver::BEGIN@6 which was called: # once (16µs+0s) by File::HomeDir::Unix::BEGIN@8 at line 6
use 5.00503;
# spent 16µs making 1 call to File::HomeDir::Driver::BEGIN@6
7218µs227µs
# spent 16µs (6+11) within File::HomeDir::Driver::BEGIN@7 which was called: # once (6µs+11µs) by File::HomeDir::Unix::BEGIN@8 at line 7
use strict;
# spent 16µs making 1 call to File::HomeDir::Driver::BEGIN@7 # spent 11µs making 1 call to strict::import
8219µs13µs
# spent 3µs within File::HomeDir::Driver::BEGIN@8 which was called: # once (3µs+0s) by File::HomeDir::Unix::BEGIN@8 at line 8
use Carp ();
# spent 3µs making 1 call to File::HomeDir::Driver::BEGIN@8
9
10227µs257µs
# spent 32µs (7+25) within File::HomeDir::Driver::BEGIN@10 which was called: # once (7µs+25µs) by File::HomeDir::Unix::BEGIN@8 at line 10
use vars qw{$VERSION};
# spent 32µs making 1 call to File::HomeDir::Driver::BEGIN@10 # spent 25µs making 1 call to vars::import
11
# spent 3µs within File::HomeDir::Driver::BEGIN@11 which was called: # once (3µs+0s) by File::HomeDir::Unix::BEGIN@8 at line 13
BEGIN {
1217µs $VERSION = '1.00';
13156µs13µs}
# spent 3µs making 1 call to File::HomeDir::Driver::BEGIN@11
14
15sub my_home {
16 Carp::croak("$_[0] does not implement compulsory method $_[1]");
17}
18
1912µs1;
20
21=pod
22
23=head1 NAME
24
25File::HomeDir::Driver - Base class for all File::HomeDir drivers
26
27=head1 DESCRIPTION
28
29This module is the base class for all L<File::HomeDir> drivers, and must
30be inherited from to identify a class as a driver.
31
32It is primarily provided as a convenience for this specific identification
33purpose, as L<File::HomeDir> supports the specification of custom drivers
34and an C<-E<gt>isa> check is used during the loading of the driver.
35
36=head1 AUTHOR
37
38Adam Kennedy E<lt>adamk@cpan.orgE<gt>
39
40=head1 SEE ALSO
41
42L<File::HomeDir>
43
44=head1 COPYRIGHT
45
46Copyright 2009 - 2011 Adam Kennedy.
47
48This program is free software; you can redistribute
49it and/or modify it under the same terms as Perl itself.
50
51The full text of the license can be found in the
52LICENSE file included with this module.
53
54=cut