Position   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
c 2
b 0
f 0
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace leetcode\util;
6
7
class Position
8
{
9
    public $row;
10
    public $col;
11
12
    public function __construct(int $row = 0, int $col = 0)
13
    {
14
        $this->row = $row;
15
        $this->col = $col;
16
    }
17
}
18