CallFrame   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 32
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace tomzx\Profiler\Runtime;
4
5
class CallFrame
6
{
7
    /**
8
     * @var string
9
     */
10
    public $functionName;
11
    /**
12
     * @var string
13
     */
14
    public $scriptId;
15
    /**
16
     * @var string
17
     */
18
    public $url;
19
    /**
20
     * @var int
21
     */
22
    public $lineNumber;
23
    /**
24
     * @var int
25
     */
26
    public $columnNumber;
27
28
    public function __construct(string $functionName, string $scriptId, string $url, int $lineNumber, int $columnNumber)
29
    {
30
        $this->functionName = $functionName;
31
        $this->scriptId = $scriptId;
32
        $this->url = $url;
33
        $this->lineNumber = $lineNumber;
34
        $this->columnNumber = $columnNumber;
35
    }
36
}
37