luyadev/luya-module-payment

View on GitHub
src/models/Process.php

Summary

Maintainability
A
3 hrs
Test Coverage
B
81%

Process has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class Process extends NgRestModel
{
    public const STATE_PENDING = 0;

    public const STATE_SUCCESS = 1;
Severity: Minor
Found in src/models/Process.php - About 2 hrs to fix

    Method ngRestActiveWindows has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function ngRestActiveWindows()
        {
            return [
                [
                    'class' => DetailViewActiveWindow::class,
    Severity: Minor
    Found in src/models/Process.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status