Percentage | Lines | ||
---|---|---|---|
UdpSocket |
|
0 % | 88 |
NotifyCommand |
|
31 % | 195 |
Process |
|
46 % | 82 |
MemoryGauge |
|
48 % | 73 |
TopCommand |
|
53 % | 82 |
ConfigLoader |
|
71 % | 54 |
CpuAverageGauge |
|
83 % | 40 |
RemoteTopCommand |
|
90 % | 49 |
ProcessesGauge |
|
93 % | 222 |
ValuesCollection |
|
100 % | 90 |
CRAP Score | Lines | ||
---|---|---|---|
NotifyCommand::execute() | 56 | 39 | |
MemoryGauge::getSystemMemoryInfo() | 20 | 18 | |
NotifyCommand::getGauges() | 9 | 34 | |
TopCommand::parse() | 6 | 14 | |
NotifyCommand::closeStatsd() | 6 | 6 | |
UdpSocket::send() | 6 | 8 | |
UdpSocket::close() | 6 | 7 | |
UdpSocket::connect() | 6 | 15 | |
ConfigLoader::load() | 6 | 31 | |
ProcessesGauge::retrieveCollection() | 4 | 16 | |