Completed
Pull Request — master (#3)
by thomas
17:25 queued 15:04
created

270 +255 Covered Lines

270 +158 Total Lines

100 % +86.6% Code Coverage

PHP Classes Changes

 
100%
Connection added
 
100%
AddressNotification added
 
100%
HeadersNotification added
 
100%
MiningNotification added
 
100%
NumBlocksNotification added
 
100%
SetDifficultyNotification added
 
100%
ElectrumClient added
 
100%
MiningClient added
0%
100%
Client improved
0%
100%
ApiError improved
0%
100%
Response improved
26.67%
100%
RequestFactory improved
57.89%
100%
Request improved
0%
 
Executor removed
0%
 
Factory removed

CRAP Changes

 
15
Connection::onMessage() added
 
4
Connection::onData() added
 
1
ElectrumClient::getServerBanner() added
 
1
ElectrumClient::relayFee() added
 
1
AddressNotification::__construct() added
 
1
MiningNotification::getPrevhash() added
 
1
ElectrumClient::getDonationAddress() added
 
1
ElectrumClient::blockGetHeader() added
 
1
AddressNotification::getAddress() added
 
1
MiningNotification::getCoinb1() added
view more  
2
1
Client::__construct() improved
2
1
ApiError::__construct() improved
2
1
ApiError::getId() improved
2
1
Request::write() improved
2
1
Response::__construct() improved
2
1
Response::getId() improved
2
1
Response::getResult() improved
30
7
RequestFactory::response() improved
6
 
Executor::query() removed
2
 
Executor::createConnection() removed
2
 
Factory::__construct() removed
2
 
Factory::create() removed
2
 
Factory::createExecutor() removed
2
 
Client::request() removed
2
 
Executor::__construct() removed