Completed
Pull Request — master (#1)
by Mattias
02:15
created

123 +60 Covered Lines

125 +35 Total Lines

98.4 % +28.4% Code Coverage

PHP Classes Changes

 
97.62%
APIPollClient added
 
100%
APIMessage added
 
100%
BotFactory added
58.46%
96.3%
Bot improved

CRAP Changes

 
2
APIPollClient::botCommand() added
 
2
APIPollClient::postDataEncoder() added
 
2
APIMessage::getText() added
 
1.0008
APIPollClient::poll() added
 
1
APIPollClient::__construct() added
 
1
APIPollClient::send() added
 
1
APIPollClient::markMessageHandled() added
 
1
APIPollClient::getResponseHeaders() added
 
1
APIPollClient::assembleUri() added
 
1
BotFactory::__construct() added
view more  
1
1.037
Bot::getResponder() got worse
2
1
Bot::poll() improved
2
1
Bot::_handlePollResponse() improved
2
1
Bot::_handlePollError() improved
12
3
Bot::_handlePollData() improved
2
 
Bot::postDataEncoder() removed
2
 
Bot::setUpdateId() removed
2
 
Bot::botCommand() removed
1
 
Bot::getResponseHeaders() removed
1
 
Bot::setClient() removed
1
 
Bot::getMassagesRequest() removed
1
 
Bot::sendResponse() removed
1
 
Bot::assembleUri() removed