Balancer/Config.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Balancer.pm ↑ Summary Balancer/Model/Backend.pm »
1 package HTTP::Balancer::Config;
2 5 ▶use Modern::Perl;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 5 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use MooseX::Singleton;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 has dbpath => (
7 is => "rw",
8 isa => "Str",
9 default => "/var/lib/http-balancer/",
10 );
11  
12 5 has pidfile => (
13 is => "rw",
14 isa => "Str",
15 default => "/var/run/http-balancer.pid",
16 );
17  
18 5 1;
19 __END__
« Balancer.pm ↑ Summary Balancer/Model/Backend.pm »