← Index
NYTProf Performance Profile   « block view • line view • sub view »
For bin/pan_genome_post_analysis
  Run on Fri Mar 27 11:43:32 2015
Reported on Fri Mar 27 11:45:27 2015

Filename/Users/ap13/perl5/lib/perl5/Bio/Factory/ObjectFactoryI.pm
StatementsExecuted 7 statements in 131µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11113µs78µsBio::Factory::ObjectFactoryI::::BEGIN@80Bio::Factory::ObjectFactoryI::BEGIN@80
11112µs24µsBio::Factory::ObjectFactoryI::::BEGIN@77Bio::Factory::ObjectFactoryI::BEGIN@77
1118µs46µsBio::Factory::ObjectFactoryI::::BEGIN@78Bio::Factory::ObjectFactoryI::BEGIN@78
0000s0sBio::Factory::ObjectFactoryI::::createBio::Factory::ObjectFactoryI::create
0000s0sBio::Factory::ObjectFactoryI::::create_objectBio::Factory::ObjectFactoryI::create_object
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1#
2# BioPerl module for Bio::Factory::ObjectFactoryI
3#
4# Please direct questions and support issues to <bioperl-l@bioperl.org>
5#
6# Cared for by Jason Stajich <jason@bioperl.org>
7#
8# Copyright Jason Stajich
9#
10# You may distribute this module under the same terms as perl itself
11
12# POD documentation - main docs before the code
13
14=head1 NAME
15
16Bio::Factory::ObjectFactoryI - A General object creator factory
17
18=head1 SYNOPSIS
19
20# see the implementations of this interface for details but
21# basically
22
23 my $obj = $factory->create(%args);
24
25=head1 DESCRIPTION
26
27This interface is the basic structure for a factory which creates new
28objects. In this case it is up to the implementer to check arguments
29and initialize whatever new object the implementing class is designed for.
30
31=head1 FEEDBACK
32
33=head2 Mailing Lists
34
35User feedback is an integral part of the evolution of this and other
36Bioperl modules. Send your comments and suggestions preferably to
37the Bioperl mailing list. Your participation is much appreciated.
38
39 bioperl-l@bioperl.org - General discussion
40 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
41
42=head2 Support
43
44Please direct usage questions or support issues to the mailing list:
45
46I<bioperl-l@bioperl.org>
47
48rather than to the module maintainer directly. Many experienced and
49reponsive experts will be able look at the problem and quickly
50address it. Please include a thorough description of the problem
51with code and data examples if at all possible.
52
53=head2 Reporting Bugs
54
55Report bugs to the Bioperl bug tracking system to help us keep track
56of the bugs and their resolution. Bug reports can be submitted via the
57web:
58
59 https://github.com/bioperl/bioperl-live/issues
60
61=head1 AUTHOR - Jason Stajich
62
63Email jason@bioperl.org
64
65=head1 APPENDIX
66
67The rest of the documentation details each of the object methods.
68Internal methods are usually preceded with a _
69
70=cut
71
72
73# Let the code begin...
74
75
76package Bio::Factory::ObjectFactoryI;
77224µs236µs
# spent 24µs (12+12) within Bio::Factory::ObjectFactoryI::BEGIN@77 which was called: # once (12µs+12µs) by base::import at line 77
use strict;
# spent 24µs making 1 call to Bio::Factory::ObjectFactoryI::BEGIN@77 # spent 12µs making 1 call to strict::import
78225µs283µs
# spent 46µs (8+37) within Bio::Factory::ObjectFactoryI::BEGIN@78 which was called: # once (8µs+37µs) by base::import at line 78
use Carp;
# spent 46µs making 1 call to Bio::Factory::ObjectFactoryI::BEGIN@78 # spent 37µs making 1 call to Exporter::import
79
80281µs278µs
# spent 78µs (13+65) within Bio::Factory::ObjectFactoryI::BEGIN@80 which was called: # once (13µs+65µs) by base::import at line 80
use base qw(Bio::Root::RootI);
# spent 78µs making 1 call to Bio::Factory::ObjectFactoryI::BEGIN@80 # spent 65µs making 1 call to base::import, recursion: max depth 2, sum of overlapping time 65µs
81
82=head2 create
83
84 Title : create
85 Usage : $factory->create(%args)
86 Function: Create a new object
87 Returns : a new object
88 Args : hash of initialization parameters
89
90
91=cut
92
93sub create{
94 my ($self,@args) = @_;
95 $self->throw_not_implemented();
96}
97
98=head2 create_object
99
100 Title : create_object
101 Usage : $obj = $factory->create_object(%args)
102 Function: Create a new object.
103
104 This is supposed to supercede create(). Right now it only delegates
105 to create().
106 Returns : a new object
107 Args : hash of initialization parameters
108
109
110=cut
111
112sub create_object{
113 my ($self,@args) = @_;
114 return $self->create(@args);
115}
116
11712µs1;