plugins/payment/modules/yf_payment/yf_payment__user.class.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method balance has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function balance($options)
    {
        if (empty(main()->USER_ID)) {
            js_redirect('/login_form', false, 'User id empty');
        }
Severity: Major
Found in plugins/payment/modules/yf_payment/yf_payment__user.class.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status