File Coverage

lib/Badger/Hub/Badger.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             #========================================================================
2             #
3             # Badger::Hub::Badger
4             #
5             # DESCRIPTION
6             # Custom Badger::Hub for accessing other Badger components.
7             #
8             # AUTHOR
9             # Andy Wardley
10             #
11             #========================================================================
12              
13             package Badger::Hub::Badger;
14              
15 1     1   6 use Badger::Debug ':dump';
  1         1  
  1         8  
16             use Badger::Class
17 1         9 version => 0.01,
18             debug => 0,
19 1     1   5 base => 'Badger::Hub';
  1         2  
20              
21 1     1   8 use Badger::Config;
  1         2  
  1         80  
22             our $CONFIG = 'Badger::Config';
23             our $COMPONENTS = {
24             pod => 'Badger::Pod',
25             codecs => 'Badger::Codecs',
26             filesystem => 'Badger::Filesystem',
27             };
28             our $DELEGATES = {
29             file => 'filesystem', # hub->file ==> hub->filesystem->file
30             directory => 'filesystem',
31             dir => 'filesystem',
32             codec => 'codecs',
33             pod => 'pod',
34             };
35              
36              
37             1;
38             __END__