Percentage | Lines | ||
---|---|---|---|
RuleHandler |
|
0 % | 47 |
ChannelFactory |
|
56 % | 44 |
RequestRecordStorage |
|
70 % | 126 |
Channel |
|
71 % | 775 |
RouterRule |
|
87 % | 142 |
ModelFactory |
|
89 % | 22 |
ChannelComposite |
|
96 % | 720 |
Router |
|
98 % | 188 |
ChannelAwareTrait |
|
100 % | 23 |
ChannelCompositeAwareTrait |
|
100 % | 23 |
CRAP Score | Lines | ||
---|---|---|---|
Channel::handlePushRequest() | 30 | 35 | |
Channel::handleReceiveRequest() | 30 | 19 | |
RequestRecordStorage::expireRequests() | 30 | 23 | |
Protocol::setAll() | 22 | 12 | |
Channel::handlePushAsync() | 20 | 25 | |
Channel::handleReceive() | 20 | 16 | |
Channel::handleReceiveResponse() | 20 | 27 | |
RouterRule::cancel() | 20 | 8 | |
ChannelComposite::combine() | 7 | 26 | |
ChannelFactory::__construct() | 7 | 36 | |