PHP_Merchant_Paypal_Express_Checkout_Test S

Total Complexity 13
Dependencies 3
Dependents 0
Total lines 535
Lines of code 432
Logical lines of code 111
Comment lines 31
Methods 10
Properties 6

Methods 10

Method Rating Maintainability Complexity Lines of code
test_correct_response_is_returned_when_get_express_checkout_details_is_successful()
A
28
1 170
test_correct_parameters_are_sent_when_do_express_checkout_payment()
S
41 2 58
test_correct_parameters_are_sent_to_paypal_when_set_express_checkout()
S
41 2 56
__construct()
S
42 1 57
test_correct_parameters_are_sent_when_get_express_checkout_details()
S
58 2 16
test_correct_response_is_returned_when_set_express_checkout_is_successful_with_warning()
S
51 1 27
test_correct_response_is_returned_when_set_express_checkout_fails()
S
52 1 26
test_correct_response_is_returned_when_set_express_checkout_is_successful()
S
60 1 13
setUp()
S
69 1 7
tearDown()
S
91 1 2