src/Values/AbstractValue.php

Summary

Maintainability
B
5 hrs
Test Coverage
D
66%

AbstractValue has 26 functions (exceeds 20 allowed). Consider refactoring.
Open

abstract class AbstractValue extends ValueFriends {

    /** @const string Name of Primi (object) type. */
    public const TYPE = '__undefined__';

Severity: Minor
Found in src/Values/AbstractValue.php - About 3 hrs to fix

    Avoid too many return statements within this method.
    Open

                        return new DictValue(Func::array_to_couples($inner));
    Severity: Major
    Found in src/Values/AbstractValue.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                          return new FuncValue(FnContainer::buildFromClosure($value));
      Severity: Major
      Found in src/Values/AbstractValue.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return new FuncValue(FnContainer::buildFromClosure($value));
        Severity: Major
        Found in src/Values/AbstractValue.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return new ListValue($inner);
          Severity: Major
          Found in src/Values/AbstractValue.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return Interned::string($value);
            Severity: Major
            Found in src/Values/AbstractValue.php - About 30 mins to fix

              There are no issues that match your filters.

              Category
              Status