Uint8   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getBitSize() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BitWasp\Buffertools\Types;
6
7
class Uint8 extends AbstractUint
8
{
9
    /**
10
     * {@inheritdoc}
11
     * @see \BitWasp\Buffertools\Types\TypeInterface::getBitSize()
12
     */
13 16
    public function getBitSize(): int
14
    {
15 16
        return 8;
16
    }
17
}
18