HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

The method ShowBorder has a boolean flag argument $exterior, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function ShowBorder($exterior = true, $interior = true)
Severity: Minor
Found in src/plot/PiePlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method ShowLabelHint has a boolean flag argument $f, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function ShowLabelHint($f = true)
Severity: Minor
Found in src/plot/PiePlot3D.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method __construct has a boolean flag argument $aDatax, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function __construct($aDatay, $aDatax = false)
Severity: Minor
Found in src/plot/Plot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method _StrokeLegend has a boolean flag argument $aReturnWidth, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function _StrokeLegend($aImg, $x, $y, $scaling = 1, $aReturnWidth = false)
Severity: Minor
Found in src/plot/WindrosePlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method SetFill has a boolean flag argument $f, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetFill($f = true)
Severity: Minor
Found in src/plot/RadarPlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method SetColor has a boolean flag argument $aFillColor, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetColor($aColor, $aFillColor = false)
Severity: Minor
Found in src/plot/RadarPlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method SetStem has a boolean flag argument $f, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetStem($f = true)
Severity: Minor
Found in src/plot/ScatterPlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method __construct has a boolean flag argument $datax, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function __construct($datay, $datax = false)
Severity: Minor
Found in src/plot/StockPlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method SetAutoScaleAngle has a boolean flag argument $aIsRegRose, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetAutoScaleAngle($aIsRegRose = true)
Severity: Minor
Found in src/plot/WindrosePlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method HideLegend has a boolean flag argument $f, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideLegend($f = true)
Severity: Minor
Found in src/plot/Plot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method SetLinkPoints has a boolean flag argument $aFlag, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetLinkPoints($aFlag = true, $aColor = 'black', $aWeight = 1, $aStyle = 'solid')
Severity: Minor
Found in src/plot/ScatterPlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method SetCenter has a boolean flag argument $aCenter, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetCenter($aCenter = true)
Severity: Minor
Found in src/plot/Plot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method ShowFrame has a boolean flag argument $aFlag, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function ShowFrame($aFlag = true)
Severity: Minor
Found in src/plot/PlotBand.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method Hide has a boolean flag argument $aHide, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function Hide($aHide = true)
Severity: Minor
Found in src/plot/PlotMark.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method __construct has a boolean flag argument $datax, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function __construct($datay, $datax = false)
Severity: Minor
Found in src/plot/ScatterPlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method SetBox has a boolean flag argument $aShow, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetBox($aColor = 'black', $aWeight = 1, $aStyle = 'solid', $aShow = true)
Severity: Minor
Found in src/plot/WindrosePlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method Show has a boolean flag argument $aShow, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function Show($aShow = true)
Severity: Minor
Found in src/plot/PlotMark.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method HideLegend has a boolean flag argument $f, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideLegend($f = true)
Severity: Minor
Found in src/plot/PlotLine.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method SetImpuls has a boolean flag argument $f, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetImpuls($f = true)
Severity: Minor
Found in src/plot/ScatterPlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method HideEndLines has a boolean flag argument $aHide, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideEndLines($aHide = true)
Severity: Minor
Found in src/plot/StockPlot.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

Severity
Category
Status
Source
Language