File Coverage

lib/Egg/Component/Base.pm
Criterion Covered Total %
statement 6 19 31.5
branch n/a
condition n/a
subroutine 2 15 13.3
pod n/a
total 8 34 23.5


line stmt bran cond sub pod time code
1             package Egg::Component::Base;
2             #
3             # Masatoshi Mizuno E<lt>lusheE<64>cpan.orgE<gt>
4             #
5             # $Id: Base.pm 337 2008-05-14 12:30:09Z lushe $
6             #
7 1     1   410 use strict;
  1         3  
  1         37  
8 1     1   5 use warnings;
  1         3  
  1         3647  
9              
10             our $VERSION= '3.01';
11              
12 0     0     sub _import { @_ }
13 0     0     sub _startup { @_ }
14 0     0     sub _setup { @_ }
15 0     0     sub _setup_comp { @_ }
16 0     0     sub _prepare { @_ }
17 0     0     sub _dispatch { @_ }
18 0     0     sub _action_start { @_ }
19 0     0     sub _action_end { @_ }
20 0     0     sub _finalize { @_ }
21 0     0     sub _finalize_error { @_ }
22 0     0     sub _output { @_ }
23 0     0     sub _finish { @_ }
24 0     0     sub _result { @_ }
25              
26             1;
27              
28             __END__
29              
30             =head1 NAME
31              
32             Egg::Component::Base - Base class for component.
33              
34             =head1 SYNOPSIS
35              
36             package MyApp::Component;
37             use base qw/
38             MyApp::Component::Hoge
39             MyApp::Component::Booo
40             Egg::Component::Base
41             /;
42            
43             __PACKAGE__->_setup;
44              
45             =head1 DESCRIPTION
46              
47             It is a convenient base class to construct the component of the L<Class::C3> base.
48              
49             It has the method of the terminal for the following hook calls assumed beforehand.
50              
51             _import, _startup, _setup, _prepare, _dispatch, _action_start, _action_end,
52             _finalize, _finalize_error, _output, _finish, _result
53              
54             =head1 SEE ALSO
55              
56             L<Egg::Release>,
57             L<Egg::Component>,
58              
59             =head1 AUTHOR
60              
61             Masatoshi Mizuno E<lt>lusheE<64>cpan.orgE<gt>
62              
63             =head1 COPYRIGHT AND LICENSE
64              
65             Copyright (C) 2008 Bee Flag, Corp. E<lt>L<http://egg.bomcity.com/>E<gt>.
66              
67             This library is free software; you can redistribute it and/or modify
68             it under the same terms as Perl itself, either Perl version 5.8.6 or,
69             at your option, any later version of Perl 5 you may have available.
70              
71             =cut
72