PhpFunction   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 11
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php declare(strict_types=1);
2
3
namespace Bigwhoop\Trumpet\CodeParsing\Php;
4
5
final class PhpFunction
6
{
7
    use FullyQualifiedNameTrait;
8
    use SourceTrait;
9
10 8
    public function __construct(string $name, string $source)
11
    {
12 8
        $this->name = $name;
13 8
        $this->source = $source;
14 8
    }
15
}
16