halfpastfouram/PHPChartJS

View on GitHub

Showing 11 of 24 total issues

Tooltips has 64 functions (exceeds 20 allowed). Consider refactoring.
Open

class Tooltips implements ArraySerializableInterface, JsonSerializable
{
    use ArraySerializable;

    /**
Severity: Major
Found in src/Options/Tooltips.php - About 1 day to fix

    Scale has 47 functions (exceeds 20 allowed). Consider refactoring.
    Open

    abstract class Scale implements ArraySerializableInterface, JsonSerializable
    {
        use ArraySerializable;
    
        /**
    Severity: Minor
    Found in src/Options/Scale.php - About 6 hrs to fix

      LineDataSet has 40 functions (exceeds 20 allowed). Consider refactoring.
      Open

      class LineDataSet extends DataSet
      {
          /**
           * @var bool|string
           */
      Severity: Minor
      Found in src/DataSet/LineDataSet.php - About 5 hrs to fix

        Ticks has 37 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class Ticks implements ArraySerializableInterface, JsonSerializable
        {
            use ArraySerializable;
        
            /**
        Severity: Minor
        Found in src/Options/Scales/Ticks.php - About 4 hrs to fix

          RadarDataSet has 32 functions (exceeds 20 allowed). Consider refactoring.
          Open

          class RadarDataSet extends DataSet
          {
              /**
               * @var bool
               */
          Severity: Minor
          Found in src/DataSet/RadarDataSet.php - About 4 hrs to fix

            File Tooltips.php has 333 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            <?php
            
            namespace Halfpastfour\PHPChartJS\Options;
            
            use Halfpastfour\PHPChartJS\ArraySerializableInterface;
            Severity: Minor
            Found in src/Options/Tooltips.php - About 4 hrs to fix

              Callbacks has 25 functions (exceeds 20 allowed). Consider refactoring.
              Open

              class Callbacks implements ArraySerializableInterface, JsonSerializable
              {
                  use ArraySerializable;
              
                  /**
              Severity: Minor
              Found in src/Options/Tooltips/Callbacks.php - About 2 hrs to fix

                DataSet has 25 functions (exceeds 20 allowed). Consider refactoring.
                Open

                class DataSet implements ChartOwnedInterface, ArraySerializableInterface, JsonSerializableInterface
                {
                    use ChartOwned;
                    use Delegate\ArraySerializable;
                    use Delegate\JsonSerializable;
                Severity: Minor
                Found in src/DataSet.php - About 2 hrs to fix

                  GridLines has 25 functions (exceeds 20 allowed). Consider refactoring.
                  Open

                  class GridLines implements ArraySerializableInterface, JsonSerializable
                  {
                      use ArraySerializable;
                      use StringUtils;
                      use NumberUtils;
                  Severity: Minor
                  Found in src/Options/Scales/GridLines.php - About 2 hrs to fix

                    Line has 23 functions (exceeds 20 allowed). Consider refactoring.
                    Open

                    class Line implements ArraySerializableInterface, JsonSerializable
                    {
                        use ArraySerializable;
                    
                        /** https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineCap */
                    Severity: Minor
                    Found in src/Options/Elements/Line.php - About 2 hrs to fix

                      File Scale.php has 252 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      <?php
                      
                      namespace Halfpastfour\PHPChartJS\Options;
                      
                      use Halfpastfour\PHPChartJS\ArraySerializableInterface;
                      Severity: Minor
                      Found in src/Options/Scale.php - About 2 hrs to fix
                        Severity
                        Category
                        Status
                        Source
                        Language