Balancer/Model/Backend.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Balancer/Config.pm ↑ Summary
1 package HTTP::Balancer::Model::Backend;
2 1 ▶use Modern::Perl;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use MooseX::Storage;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 extends qw( HTTP::Balancer::Model );
6  
7 1 with Storage(
8 format => 'YAML',
9 io => 'File',
10 );
11  
12 1 has id => (
13 is => "rw",
14 isa => "Num",
15 );
16  
17 1 has name => (
18 is => "rw",
19 isa => "Str",
20 );
21  
22 1 has address => (
23 is => "rw",
24 isa => "Str",
25 );
26  
27 1 has port => (
28 is => "rw",
29 isa => "Str"
30 );
31  
32 1 has host_id => (
33 is => "rw",
34 isa => "Str",
35 );
36  
37 1 1;
38 __END__
« Balancer/Config.pm ↑ Summary