BaseSound   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 10
ccs 3
cts 3
cp 1
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace ekinhbayar\GitAmp\Presentation\Sound;
4
5
abstract class BaseSound
6
{
7
    protected float $size;
8
9 23
    public function __construct(float $size = 1)
10
    {
11 23
        $this->size = $size;
12 23
    }
13
14
    abstract public function getAsArray(): array;
15
}
16