Passed
Push — master ( 5a75ed...5edef7 )
by Mattias
53s
created

123 +60 Covered Lines

125 +35 Total Lines

98.4 % +28.4% Code Coverage

PHP Classes Changes

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

CRAP Changes

 
2
APIMessage::getText() added
 
2
APIPollClient::botCommand() added
 
2
APIPollClient::postDataEncoder() added
 
1.0008
APIPollClient::poll() added
 
1
APIMessage::hasText() added
 
1
APIMessage::getResponseData() added
 
1
APIMessage::getUpdateId() added
 
1
APIPollClient::__construct() added
 
1
APIPollClient::send() added
 
1
APIPollClient::markMessageHandled() 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::botCommand() removed
2
 
Bot::postDataEncoder() removed
2
 
Bot::setUpdateId() removed
1
 
Bot::getMassagesRequest() removed
1
 
Bot::sendResponse() removed
1
 
Bot::assembleUri() removed
1
 
Bot::getResponseHeaders() removed
1
 
Bot::setClient() removed