src/Oci8Statement.php

Summary

Maintainability
A
35 mins
Test Coverage

The class Oci8Statement has 13 public methods. Consider refactoring Oci8Statement to keep number of public methods under 10.
Open

class Oci8Statement extends AbstractOci8Base implements Oci8StatementInterface
{
    /** @var resource */
    protected $resource;

Severity: Minor
Found in src/Oci8Statement.php by phpmd

TooManyPublicMethods

Since: 0.1

A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.

By default it ignores methods starting with 'get' or 'set'.

Example

Source https://phpmd.org/rules/codesize.html#toomanypublicmethods

Method bindArrayByName has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function bindArrayByName($name, &$varArray, $maxTableLength, $maxItemLength = -1, $type = SQLT_AFC)
Severity: Minor
Found in src/Oci8Statement.php - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status