RedisTop/Component/ConnectionPer.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 0.0% 0 / 1 totaltotal 88.8% 8 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
new
1.0
CRAP 1.0
« RedisTop/Component/Connection.pm ↑ Summary RedisTop/Component/Memory.pm »
1 package App::RedisTop::Component::ConnectionPer;
2 2 ▶use base 'App::RedisTop::Component';
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
4 1 my $class = shift;
5  
6 1 my $self = bless {
7 group => 'connper',
8 items => [
9 { name => 'conn/max', stat_key => 'connected_clients', denominator_key => 'maxclients'},
10 ],
11 width => 9,
12 total => 1,
13 @_,
14 }, $class;
15 }
16  
17 2 1;
« RedisTop/Component/Connection.pm ↑ Summary RedisTop/Component/Memory.pm »