Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | Transfer\InvoiceTransfer::fromArray() | 0 | 21 | 9 | ? | 0 | 0 | 0 |
B | LightningConfig::jsonSerialize() | 0 | 16 | 8 | 8 | 0 | 0 | 0 |
A | FakeHttpApi::postRequestInvoice() | 0 | 23 | 1 | ? | 0 | 0 | 0 |
A | LnbitsBackendInvoice::requestInvoice() | 0 | 15 | 2 | 2 | 2 | 0 | 0 |
A | LightningConfig::addBackendsFile() | 0 | 13 | 4 | 4 | 0 | 0 | 0 |
A | Controller\InvoiceController::__invoke() | 0 | 12 | 3 | 12 | 2 | 0 | 0 |
A | LnbitsBackendInvoiceTest::test_request_invoice_when_api_returns_payment_request() | 0 | 10 | 1 | ? | 0 | 0 | 0 |
A | LnBitsBackendConfig::setApiEndpoint() | 0 | 2 | 1 | 1 | 0 | 0 | 0 |
A | Transfer\InvoiceTransfer::__construct() | 0 | 0 | 1 | ? | 0 | 0 | 0 |
A | LightningConfig::setSuccessMessage() | 0 | 2 | 1 | 1 | 0 | 0 | 0 |
A | InvoiceExtraTransfer::fromArray() | 0 | 5 | 1 | ? | 0 | 0 | 0 |
A | PhpLightning\Config\BackendsConfig::add() | 0 | 2 | 1 | 1 | 0 | 0 | 0 |
A | InvoiceConfig::getSuccessMessage() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | InvoiceFactory::validateUserExists() | 0 | 1 | 1 | 2 | 1 | 0 | 0 |
A | InvoiceDependencyProvider::provideModuleDependencies() | 0 | 1 | 1 | 2 | 1 | 0 | 0 |