Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B Paysera\Action\StatusAction::execute() 0 18 7 7.54 1 1 0
A Paysera\Action\NotifyAction::execute() 0 17 6 14.22 1 0 0
A Paysera\Action\CaptureAction::execute() 0 13 6 6.44 1 1 0
A Action\ConvertPaymentAction::execute() 0 18 2 4.86 0 0 0
A MockedPayseraGatewayFactory::populateConfig() 0 18 2 ? 2 0 0
A PayseraGatewayFactory::populateConfig() 0 18 2 2 0 0 0
A NotifyActionTest::shouldThrowExceptionWithWrongParams() 0 15 1 ? 3 0 0
A ApiTest::testApiWhenPayingWithCorrectDataThrowsRedirect() 0 12 1 ? 1 0 0
A ApiTest::testApiWhenNotifyingWithoutCorrectDataThrowsException() 0 11 1 ? 1 0 0
A CaptureActionTest::shouldCallDoPayment() 0 9 1 ? 1 0 0
A PayseraGatewayFactoryTest::shouldConfigContainDefaultOptions() 0 9 1 ? 1 0 0
A PayseraGatewayFactoryTest::shouldAddDefaultConfigPassedInConstructorWhileCreatingGatewayConfig() 0 9 1 ? 1 0 0
A PayseraGatewayFactoryTest::shouldConfigurePaths() 0 9 1 ? 1 0 0
A PayseraGatewayFactoryTest::shouldAllowCreateGateway() 0 9 1 ? 1 0 0
A StatusActionTest::shouldBeSubClassOfGatewayAwareAction() 0 2 1 ? 1 0 0