RedisTop/Component/Connection.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/Command.pm ↑ Summary RedisTop/Component/ConnectionPer.pm »
1 package App::RedisTop::Component::Connection;
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 => 'conn',
8 items => [
9 { name => 'total/s', stat_key => 'total_connections_received', diff => 1 },
10 { name => 'clients', stat_key => 'connected_clients', },
11 ],
12 width => 9,
13 unit => 1,
14 total => 1,
15 @_,
16 }, $class;
17 }
18  
19 2 1;
« RedisTop/Component/Command.pm ↑ Summary RedisTop/Component/ConnectionPer.pm »