HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

Method _Stroke has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function _Stroke($aImg, $aMinX, $aMinY, $aMaxX, $aMaxY, $aXPos, $aYPos)
Severity: Major
Found in src/plot/PlotLine.php - About 50 mins to fix

    Method FilledRectangle has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function FilledRectangle($xl, $yt, $xr, $yb, $from_color, $to_color, $style = 1)
    Severity: Major
    Found in src/plot/Gradient.php - About 50 mins to fix

      Method _StrokeRegularRose has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function _StrokeRegularRose($dblImg, $value, $scaling, $xc, $yc, $r, $ri)
      Severity: Major
      Found in src/plot/WindrosePlot.php - About 50 mins to fix

        Method _StrokeFreeRose has 7 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public function _StrokeFreeRose($dblImg, $value, $scaling, $xc, $yc, $r, $ri)
        Severity: Major
        Found in src/plot/WindrosePlot.php - About 50 mins to fix

          Method __construct has 7 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public function __construct($aDir, $aPattern, $aMin, $aMax, $aColor = 'black', $aWeight = 1, $aDepth = DEPTH_BACK)
          Severity: Major
          Found in src/plot/PlotBand.php - About 50 mins to fix

            Method ModBox has 7 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public function ModBox($img, $xscale, $yscale, $i, $xl, $xr, $neg)
            Severity: Major
            Found in src/plot/StockPlot.php - About 50 mins to fix

              Method Bevel has 7 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public function Bevel($x1, $y1, $x2, $y2, $depth = 2, $color1 = 'white@0.4', $color2 = 'black@0.5')
              Severity: Major
              Found in src/image/Image.php - About 50 mins to fix

                Method FilledRectangle2 has 7 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    public function FilledRectangle2($xl, $yu, $xr, $yl, $color1, $color2, $style = 1)
                Severity: Major
                Found in src/image/Image.php - About 50 mins to fix

                  Method Skew3D has 7 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public function Skew3D($aHorizon = 120, $aSkewDist = 150, $aDir = SKEW3D_DOWN, $aHiQuality = false, $aMinSize = true, $aFillColor = '#FFFFFF', $aBorder = false)
                  Severity: Major
                  Found in src/image/ImgTrans.php - About 50 mins to fix

                    Method FilledArc has 7 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        public function FilledArc($xc, $yc, $w, $h, $s, $e, $style = '')
                    Severity: Major
                    Found in src/image/RotImage.php - About 50 mins to fix

                      Method FilledBevel has 7 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public function FilledBevel($x1, $y1, $x2, $y2, $depth = 2, $color1 = 'white@0.4', $color2 = 'darkgray@0.4')
                      Severity: Major
                      Found in src/image/Image.php - About 50 mins to fix

                        Method FilledArc has 7 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public function FilledArc($xc, $yc, $w, $h, $s, $e, $style = '')
                        Severity: Major
                        Found in src/image/Image.php - About 50 mins to fix

                          Method _StrokeTTF has 7 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public function _StrokeTTF($x, $y, $txt, $dir, $paragraph_align, &$aBoundingBox, $debug = false)
                          Severity: Major
                          Found in src/image/Image.php - About 50 mins to fix

                            Method DrawLine has 7 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public function DrawLine($im, $x1, $y1, $x2, $y2, $weight, $color)
                            Severity: Major
                            Found in src/image/Image.php - About 50 mins to fix

                              Method _StrokeBuiltinFont has 7 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  public function _StrokeBuiltinFont($x, $y, $txt, $dir, $paragraph_align, &$aBoundingBox, $aDebug = false)
                              Severity: Major
                              Found in src/image/Image.php - About 50 mins to fix

                                Method SetImage has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    public function SetImage($aFileR1, $aScaleC1 = null, $aMixR2 = null, $aC2 = null, $aFile = null, $aScale = 1.0, $aMix = 100)
                                Severity: Major
                                Found in src/text/GTextTable.php - About 50 mins to fix

                                  Method ShadowRectangle has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      public function ShadowRectangle($x1, $y1, $x2, $y2, $fcolor = false, $shadow_width = null, $shadow_color = [102, 102, 102])
                                  Severity: Major
                                  Found in src/graph/Shape.php - About 50 mins to fix

                                    Method Add has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        public function Add($aTxt, $aColor, $aPlotmark = '', $aLinestyle = 0, $csimtarget = '', $csimalt = '', $csimwintarget = '')
                                    Severity: Major
                                    Found in src/graph/Legend.php - About 50 mins to fix

                                      Method SetTitleBackground has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          public function SetTitleBackground($aBackColor = 'gray', $aStyle = TITLEBKG_STYLE1, $aFrameStyle = TITLEBKG_FRAME_NONE, $aFrameColor = 'black', $aFrameWeight = 1, $aBevelHeight = 3, $aEnable = true)
                                      Severity: Major
                                      Found in src/graph/Graph.php - About 50 mins to fix

                                        Method Stroke has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            public function Stroke($aImg, &$grid, $aPos, $aAxisAngle, $aScale, &$aMajPos, &$aMajLabel)
                                        Severity: Major
                                        Found in src/graph/RadarLogTicks.php - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language