MAXakaWIZARD/xls-writer

View on GitHub
src/Functions.php

Summary

Maintainability
C
1 day
Test Coverage

File Functions.php has 328 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

namespace Xls;

class Functions
Severity: Minor
Found in src/Functions.php - About 3 hrs to fix

    Method getStatisticalFunctions has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected static function getStatisticalFunctions()
        {
            return array(
                // function ptg  args  class  vol
                'AVERAGE' => array(5, -1, 0, 0),
    Severity: Minor
    Found in src/Functions.php - About 1 hr to fix

      Method getMathFunctions has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          protected static function getMathFunctions()
          {
              return array(
                  // function ptg  args  class  vol
                  'SUM' => array(4, -1, 0, 0),
      Severity: Minor
      Found in src/Functions.php - About 1 hr to fix

        Method getDistributionFunctions has 36 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            protected static function getDistributionFunctions()
            {
                return array(
                    // function ptg  args  class  vol
                    'CONFIDENCE' => array(277, 3, 1, 0),
        Severity: Minor
        Found in src/Functions.php - About 1 hr to fix

          There are no issues that match your filters.

          Category
          Status