HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

Missing class import via use statement (line '432', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotFalse', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

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

    public function SetInvert($aFlg = true)
Severity: Minor
Found in src/plot/Contour.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 UseHighContrastColor has a boolean flag argument $aFlg, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function UseHighContrastColor($aFlg = true, $aBW = false)
Severity: Minor
Found in src/plot/ContourPlot.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

Missing class import via use statement (line '752', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNumeric', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

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/BarPlot.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 UseHighContrastColor has a boolean flag argument $aBW, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function UseHighContrastColor($aFlg = true, $aBW = false)
Severity: Minor
Found in src/plot/Contour.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 UseHighContrastColor has a boolean flag argument $aBW, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function UseHighContrastColor($aFlg = true, $aBW = false)
Severity: Minor
Found in src/plot/ContourPlot.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 SetFilled has a boolean flag argument $aFlg, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetFilled($aFlg = true)
Severity: Minor
Found in src/plot/LinePlot.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 SetFillGradient has a boolean flag argument $aFilled, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetFillGradient($aFromColor, $aToColor, $aNumColors = 100, $aFilled = true)
Severity: Minor
Found in src/plot/LinePlot.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/ErrorLinePlot.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 SetFillColor has a boolean flag argument $aFilled, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetFillColor($aColor, $aFilled = true)
Severity: Minor
Found in src/plot/LinePlot.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 SetFastStroke has a boolean flag argument $aFlg, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetFastStroke($aFlg = true)
Severity: Minor
Found in src/plot/LinePlot.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 $aFlg, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function Hide($aFlg = true)
Severity: Minor
Found in src/plot/LegendStyle.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 SetGuideLines has a boolean flag argument $aFlg, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetGuideLines($aFlg = true, $aCurved = true, $aAlways = false)
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 UsePlotThemeColors has a boolean flag argument $flag, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function UsePlotThemeColors($flag = 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 SetStepStyle has a boolean flag argument $aFlag, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetStepStyle($aFlag = true)
Severity: Minor
Found in src/plot/LinePlot.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 SetFillFromYMax has a boolean flag argument $f, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetFillFromYMax($f = true)
Severity: Minor
Found in src/plot/LinePlot.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 ShowBorder has a boolean flag argument $interior, 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 SetGuideLines has a boolean flag argument $aCurved, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetGuideLines($aFlg = true, $aCurved = true, $aAlways = false)
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 SetGuideLines has a boolean flag argument $aAlways, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetGuideLines($aFlg = true, $aCurved = true, $aAlways = false)
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

Severity
Category
Status
Source
Language