Showing 706 of 6,805 total issues
Method Min
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function Min()
{
$nmax = 0;
list($xmin, $ysetmin) = $this->plots[0]->Min();
for ($i = 0; $i < safe_count($this->plots); ++$i) {
Method CakeSlice
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function CakeSlice($xc, $yc, $w, $h, $s, $e, $fillcolor = '', $arccolor = '')
{
$s = round($s);
$e = round($e);
$w = round($w);
Method SetupGraph
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function SetupGraph($graph)
{
// graph
/*
$img = $graph->img;
Method SetupGraph
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function SetupGraph($graph)
{
// graph
/*
$img = $graph->img;
Method SetupGraph
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function SetupGraph($graph)
{
// graph
/*
$img = $graph->img;
Method __construct
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct($xdata, $ydata)
{
$this->y2 = [];
$this->xdata = $xdata;
$this->ydata = $ydata;
Method _autoSizeTable
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function _autoSizeTable($aImg)
{
// Get maximum column width and row height
$m = $this->iSize[0];
$n = $this->iSize[1];
Method SetupGraph
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function SetupGraph($graph)
{
// graph
/*
$img = $graph->img;
Method SetupGraph
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function SetupGraph($graph)
{
// graph
/*
$img = $graph->img;
Method SetupGraph
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function SetupGraph($graph)
{
// graph
/*
$img = $graph->img;
Method SetupGraph
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function SetupGraph($graph)
{
// graph
/*
$img = $graph->img;
Method Stroke
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function Stroke($img, $grid)
{
if (!$this->show) {
return;
}
Method GetMonthLabel
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function GetMonthLabel($aMonthNbr, $year)
{
$sn = $this->iDateLocale->GetShortMonthName($aMonthNbr);
$ln = $this->iDateLocale->GetLongMonthName($aMonthNbr);
switch ($this->month->iStyle) {
Consider simplifying this complex logical expression. Open
Open
if ($midval == $ib) {
// Orientation "+"
$n1 = 0;
$n2 = 1;
$n3 = 2;
Consider simplifying this complex logical expression. Open
Open
if (($a < 90 && ($a + $da > 270)) || ($a > 90 && $a <= 270 && ($a + $da > 360 + 90)) || ($a > 270 && $this->NormAngle($a + $da) > 270)) {
$angles[++$idx] = [$split, 360 - $split];
$adjcolors[$idx] = $colors[$i % $numcolors];
$adjexplode[$idx] = $explode;
$angles[++$idx] = [360 - $split, $ne];
Method Add3DSliceToCSIM
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function Add3DSliceToCSIM($i, $xc, $yc, $height, $width, $thick, $sa, $ea)
Method _StrokeWindLeg
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function _StrokeWindLeg($aImg, $xc, $yc, $a, $ri, $r, $weight, $color)
Method ShadowRectangle
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function ShadowRectangle($xl, $yu, $xr, $yl, $fcolor = false, $shadow_width = 4, $shadow_color = 'darkgray', $useAlpha = true)
Method _Skew3D
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function _Skew3D($aGdImg, $aHorizon = 120, $aSkewDist = 150, $aDir = SKEW3D_DOWN, $aHiQuality = false, $aMinSize = true, $aFillColor = '#FFFFFF', $aBorder = false)
Method CakeSlice
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function CakeSlice($xc, $yc, $w, $h, $s, $e, $fillcolor = '', $arccolor = '')